Skip to content
Vectorlight.net

#5791ed

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

HEX
#5791ed
RGB
87, 145, 237
HSL
216.8°, 80.65%, 63.53%
OKLCH
0.66 0.15 259.26
Names
—
Lists

Codes

FormatValue
HEX#5791ed
RGBrgb(87 145 237)
HSLhsl(216.8 80.65% 63.53%)
OKLCHoklch(0.66 0.15 259.26)
CMYKcmyk(63.29% 38.82% 0% 7.06%)
Android#ff5791ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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