Skip to content
Vectorlight.net

#08102b

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

HEX
#08102b
RGB
8, 16, 43
HSL
226.29°, 68.63%, 10%
OKLCH
0.18 0.06 267.94
Names
—
Lists

Codes

FormatValue
HEX#08102b
RGBrgb(8 16 43)
HSLhsl(226.29 68.63% 10%)
OKLCHoklch(0.18 0.06 267.94)
CMYKcmyk(81.4% 62.79% 0% 83.14%)
Android#ff08102b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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