Skip to content
Vectorlight.net

#0862cb

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

HEX
#0862cb
RGB
8, 98, 203
HSL
212.31°, 92.42%, 41.37%
OKLCH
0.51 0.18 257.31
Names
—
Lists

Codes

FormatValue
HEX#0862cb
RGBrgb(8 98 203)
HSLhsl(212.31 92.42% 41.37%)
OKLCHoklch(0.51 0.18 257.31)
CMYKcmyk(96.06% 51.72% 0% 20.39%)
Android#ff0862cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0862cb;
background-color: #0862cb;
bg-[#0862cb]