Skip to content
Vectorlight.net

#02071a

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

HEX
#02071a
RGB
2, 7, 26
HSL
227.5°, 85.71%, 5.49%
OKLCH
0.14 0.04 263.78
Names
—
Lists

Codes

FormatValue
HEX#02071a
RGBrgb(2 7 26)
HSLhsl(227.5 85.71% 5.49%)
OKLCHoklch(0.14 0.04 263.78)
CMYKcmyk(92.31% 73.08% 0% 89.8%)
Android#ff02071a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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