Skip to content
Vectorlight.net

#5987bf

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

HEX
#5987bf
RGB
89, 135, 191
HSL
212.94°, 44.35%, 54.9%
OKLCH
0.61 0.1 254.04
Names
—
Lists

Codes

FormatValue
HEX#5987bf
RGBrgb(89 135 191)
HSLhsl(212.94 44.35% 54.9%)
OKLCHoklch(0.61 0.1 254.04)
CMYKcmyk(53.4% 29.32% 0% 25.1%)
Android#ff5987bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5987bf;
background-color: #5987bf;
bg-[#5987bf]