Skip to content
Vectorlight.net

#081874

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

HEX
#081874
RGB
8, 24, 116
HSL
231.11°, 87.1%, 24.31%
OKLCH
0.28 0.15 266.12
Names
—
Lists

Codes

FormatValue
HEX#081874
RGBrgb(8 24 116)
HSLhsl(231.11 87.1% 24.31%)
OKLCHoklch(0.28 0.15 266.12)
CMYKcmyk(93.1% 79.31% 0% 54.51%)
Android#ff081874

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #081874;
background-color: #081874;
bg-[#081874]