Skip to content
Vectorlight.net

#5796dc

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

HEX
#5796dc
RGB
87, 150, 220
HSL
211.58°, 65.52%, 60.2%
OKLCH
0.66 0.12 252.4
Names
—
Lists

Codes

FormatValue
HEX#5796dc
RGBrgb(87 150 220)
HSLhsl(211.58 65.52% 60.2%)
OKLCHoklch(0.66 0.12 252.4)
CMYKcmyk(60.45% 31.82% 0% 13.73%)
Android#ff5796dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.08:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.80:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#5796dc"
Gradient stop
<stop stop-color="#5796dc"/>
CSS variable + fill
:root { --c: #5796dc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #5796dc;
background-color: #5796dc;
bg-[#5796dc]