Skip to content
Vectorlight.net

#08155a

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

HEX
#08155a
RGB
8, 21, 90
HSL
230.49°, 83.67%, 19.22%
OKLCH
0.25 0.12 266.91
Names
—
Lists

Codes

FormatValue
HEX#08155a
RGBrgb(8 21 90)
HSLhsl(230.49 83.67% 19.22%)
OKLCHoklch(0.25 0.12 266.91)
CMYKcmyk(91.11% 76.67% 0% 64.71%)
Android#ff08155a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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