Skip to content
Vectorlight.net

#02011a

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

HEX
#02011a
RGB
2, 1, 26
HSL
242.4°, 92.59%, 5.29%
OKLCH
0.11 0.06 273.98
Names
—
Lists

Codes

FormatValue
HEX#02011a
RGBrgb(2 1 26)
HSLhsl(242.4 92.59% 5.29%)
OKLCHoklch(0.11 0.06 273.98)
CMYKcmyk(92.31% 96.15% 0% 89.8%)
Android#ff02011a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
20.55: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="#02011a"
Gradient stop
<stop stop-color="#02011a"/>
CSS variable + fill
:root { --c: #02011a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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