Skip to content
Vectorlight.net

#08154a

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

HEX
#08154a
RGB
8, 21, 74
HSL
228.18°, 80.49%, 16.08%
OKLCH
0.23 0.1 266.87
Names
—
Lists

Codes

FormatValue
HEX#08154a
RGBrgb(8 21 74)
HSLhsl(228.18 80.49% 16.08%)
OKLCHoklch(0.23 0.1 266.87)
CMYKcmyk(89.19% 71.62% 0% 70.98%)
Android#ff08154a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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