Skip to content
Vectorlight.net

#02102a

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

HEX
#02102a
RGB
2, 16, 42
HSL
219°, 90.91%, 8.63%
OKLCH
0.18 0.06 258.68
Names
—
Lists

Codes

FormatValue
HEX#02102a
RGBrgb(2 16 42)
HSLhsl(219 90.91% 8.63%)
OKLCHoklch(0.18 0.06 258.68)
CMYKcmyk(95.24% 61.9% 0% 83.53%)
Android#ff02102a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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