Skip to content
Vectorlight.net

#0874ce

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

HEX
#0874ce
RGB
8, 116, 206
HSL
207.27°, 92.52%, 41.96%
OKLCH
0.56 0.16 251.91
Names
—
Lists

Codes

FormatValue
HEX#0874ce
RGBrgb(8 116 206)
HSLhsl(207.27 92.52% 41.96%)
OKLCHoklch(0.56 0.16 251.91)
CMYKcmyk(96.12% 43.69% 0% 19.22%)
Android#ff0874ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0874ce;
background-color: #0874ce;
bg-[#0874ce]