Skip to content
Vectorlight.net

#5791ac

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

HEX
#5791ac
RGB
87, 145, 172
HSL
199.06°, 33.86%, 50.78%
OKLCH
0.63 0.07 229.5
Names
—
Lists

Codes

FormatValue
HEX#5791ac
RGBrgb(87 145 172)
HSLhsl(199.06 33.86% 50.78%)
OKLCHoklch(0.63 0.07 229.5)
CMYKcmyk(49.42% 15.7% 0% 32.55%)
Android#ff5791ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5791ac;
background-color: #5791ac;
bg-[#5791ac]