Skip to content
Vectorlight.net

#18129f

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#18129f
RGB
24, 18, 159
HSL
242.55°, 79.66%, 34.71%
OKLCH
0.34 0.21 269.13
Names
—
Lists

Codes

FormatValue
HEX#18129f
RGBrgb(24 18 159)
HSLhsl(242.55 79.66% 34.71%)
OKLCHoklch(0.34 0.21 269.13)
CMYKcmyk(84.91% 88.68% 0% 37.65%)
Android#ff18129f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
12.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.62:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#18129f"
Gradient stop
<stop stop-color="#18129f"/>
CSS variable + fill
:root { --c: #18129f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #18129f;
background-color: #18129f;
bg-[#18129f]