Skip to content
Vectorlight.net

#080c31

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

HEX
#080c31
RGB
8, 12, 49
HSL
234.15°, 71.93%, 11.18%
OKLCH
0.18 0.07 271.92
Names
—
Lists

Codes

FormatValue
HEX#080c31
RGBrgb(8 12 49)
HSLhsl(234.15 71.93% 11.18%)
OKLCHoklch(0.18 0.07 271.92)
CMYKcmyk(83.67% 75.51% 0% 80.78%)
Android#ff080c31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #080c31;
background-color: #080c31;
bg-[#080c31]