Skip to content
Vectorlight.net

#02012e

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

HEX
#02012e
RGB
2, 1, 46
HSL
241.33°, 95.74%, 9.22%
OKLCH
0.14 0.09 268.5
Names
—
Lists

Codes

FormatValue
HEX#02012e
RGBrgb(2 1 46)
HSLhsl(241.33 95.74% 9.22%)
OKLCHoklch(0.14 0.09 268.5)
CMYKcmyk(95.65% 97.83% 0% 81.96%)
Android#ff02012e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #02012e;
background-color: #02012e;
bg-[#02012e]