Skip to content
Vectorlight.net

#5798cc

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

HEX
#5798cc
RGB
87, 152, 204
HSL
206.67°, 53.42%, 57.06%
OKLCH
0.66 0.1 244.41
Names
—
Lists

Codes

FormatValue
HEX#5798cc
RGBrgb(87 152 204)
HSLhsl(206.67 53.42% 57.06%)
OKLCHoklch(0.66 0.1 244.41)
CMYKcmyk(57.35% 25.49% 0% 20%)
Android#ff5798cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5798cc;
background-color: #5798cc;
bg-[#5798cc]