Skip to content
Vectorlight.net

#08316a

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

HEX
#08316a
RGB
8, 49, 106
HSL
214.9°, 85.96%, 22.35%
OKLCH
0.32 0.11 258.3
Names
—
Lists

Codes

FormatValue
HEX#08316a
RGBrgb(8 49 106)
HSLhsl(214.9 85.96% 22.35%)
OKLCHoklch(0.32 0.11 258.3)
CMYKcmyk(92.45% 53.77% 0% 58.43%)
Android#ff08316a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #08316a;
background-color: #08316a;
bg-[#08316a]