Skip to content
Vectorlight.net

#02011f

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

HEX
#02011f
RGB
2, 1, 31
HSL
242°, 93.75%, 6.27%
OKLCH
0.12 0.07 272.02
Names
—
Lists

Codes

FormatValue
HEX#02011f
RGBrgb(2 1 31)
HSLhsl(242 93.75% 6.27%)
OKLCHoklch(0.12 0.07 272.02)
CMYKcmyk(93.55% 96.77% 0% 87.84%)
Android#ff02011f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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