Skip to content
Vectorlight.net

#08406a

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

HEX
#08406a
RGB
8, 64, 106
HSL
205.71°, 85.96%, 22.35%
OKLCH
0.36 0.09 247.53
Names
—
Lists

Codes

FormatValue
HEX#08406a
RGBrgb(8 64 106)
HSLhsl(205.71 85.96% 22.35%)
OKLCHoklch(0.36 0.09 247.53)
CMYKcmyk(92.45% 39.62% 0% 58.43%)
Android#ff08406a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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