Skip to content
Vectorlight.net

#021009

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

HEX
#021009
RGB
2, 16, 9
HSL
150°, 77.78%, 3.53%
OKLCH
0.16 0.03 163.42
Names
—
Lists

Codes

FormatValue
HEX#021009
RGBrgb(2 16 9)
HSLhsl(150 77.78% 3.53%)
OKLCHoklch(0.16 0.03 163.42)
CMYKcmyk(87.5% 0% 43.75% 93.73%)
Android#ff021009

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #021009;
background-color: #021009;
bg-[#021009]