Skip to content
Vectorlight.net

#08221b

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

HEX
#08221b
RGB
8, 34, 27
HSL
163.85°, 61.9%, 8.24%
OKLCH
0.23 0.03 172.64
Names
—
Lists

Codes

FormatValue
HEX#08221b
RGBrgb(8 34 27)
HSLhsl(163.85 61.9% 8.24%)
OKLCHoklch(0.23 0.03 172.64)
CMYKcmyk(76.47% 0% 20.59% 86.67%)
Android#ff08221b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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