Skip to content
Vectorlight.net

#08189c

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

HEX
#08189c
RGB
8, 24, 156
HSL
233.51°, 90.24%, 32.16%
OKLCH
0.33 0.2 265.53
Names
—
Lists

Codes

FormatValue
HEX#08189c
RGBrgb(8 24 156)
HSLhsl(233.51 90.24% 32.16%)
OKLCHoklch(0.33 0.2 265.53)
CMYKcmyk(94.87% 84.62% 0% 38.82%)
Android#ff08189c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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