Skip to content
Vectorlight.net

#08428c

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

HEX
#08428c
RGB
8, 66, 140
HSL
213.64°, 89.19%, 29.02%
OKLCH
0.39 0.14 257.74
Names
—
Lists

Codes

FormatValue
HEX#08428c
RGBrgb(8 66 140)
HSLhsl(213.64 89.19% 29.02%)
OKLCHoklch(0.39 0.14 257.74)
CMYKcmyk(94.29% 52.86% 0% 45.1%)
Android#ff08428c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #08428c;
background-color: #08428c;
bg-[#08428c]