Skip to content
Vectorlight.net

#12409f

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

HEX
#12409f
RGB
18, 64, 159
HSL
220.43°, 79.66%, 34.71%
OKLCH
0.41 0.16 262.38
Names
—
Lists

Codes

FormatValue
HEX#12409f
RGBrgb(18 64 159)
HSLhsl(220.43 79.66% 34.71%)
OKLCHoklch(0.41 0.16 262.38)
CMYKcmyk(88.68% 59.75% 0% 37.65%)
Android#ff12409f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
9.29:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.25: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="#12409f"
Gradient stop
<stop stop-color="#12409f"/>
CSS variable + fill
:root { --c: #12409f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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