Skip to content
Vectorlight.net

#08171b

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

HEX
#08171b
RGB
8, 23, 27
HSL
192.63°, 54.29%, 6.86%
OKLCH
0.19 0.02 216.92
Names
—
Lists

Codes

FormatValue
HEX#08171b
RGBrgb(8 23 27)
HSLhsl(192.63 54.29% 6.86%)
OKLCHoklch(0.19 0.02 216.92)
CMYKcmyk(70.37% 14.81% 0% 89.41%)
Android#ff08171b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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