Skip to content
Vectorlight.net

#0816cd

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

HEX
#0816cd
RGB
8, 22, 205
HSL
235.74°, 92.49%, 41.76%
OKLCH
0.4 0.26 264.99
Names
—
Lists

Codes

FormatValue
HEX#0816cd
RGBrgb(8 22 205)
HSLhsl(235.74 92.49% 41.76%)
OKLCHoklch(0.4 0.26 264.99)
CMYKcmyk(96.1% 89.27% 0% 19.61%)
Android#ff0816cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0816cd;
background-color: #0816cd;
bg-[#0816cd]