Skip to content
Vectorlight.net

#02111b

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

HEX
#02111b
RGB
2, 17, 27
HSL
204°, 86.21%, 5.69%
OKLCH
0.17 0.03 236.66
Names
—
Lists

Codes

FormatValue
HEX#02111b
RGBrgb(2 17 27)
HSLhsl(204 86.21% 5.69%)
OKLCHoklch(0.17 0.03 236.66)
CMYKcmyk(92.59% 37.04% 0% 89.41%)
Android#ff02111b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #02111b;
background-color: #02111b;
bg-[#02111b]