Skip to content
Vectorlight.net

#02419a

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

HEX
#02419a
RGB
2, 65, 154
HSL
215.13°, 97.44%, 30.59%
OKLCH
0.4 0.16 259.47
Names
—
Lists

Codes

FormatValue
HEX#02419a
RGBrgb(2 65 154)
HSLhsl(215.13 97.44% 30.59%)
OKLCHoklch(0.4 0.16 259.47)
CMYKcmyk(98.7% 57.79% 0% 39.61%)
Android#ff02419a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #02419a;
background-color: #02419a;
bg-[#02419a]