Skip to content
Vectorlight.net

#02050d

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

HEX
#02050d
RGB
2, 5, 13
HSL
223.64°, 73.33%, 2.94%
OKLCH
0.11 0.02 259.21
Names
—
Lists

Codes

FormatValue
HEX#02050d
RGBrgb(2 5 13)
HSLhsl(223.64 73.33% 2.94%)
OKLCHoklch(0.11 0.02 259.21)
CMYKcmyk(84.62% 61.54% 0% 94.9%)
Android#ff02050d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #02050d;
background-color: #02050d;
bg-[#02050d]