Skip to content
Vectorlight.net

#5981bd

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

HEX
#5981bd
RGB
89, 129, 189
HSL
216°, 43.1%, 54.51%
OKLCH
0.6 0.1 258.28
Names
—
Lists

Codes

FormatValue
HEX#5981bd
RGBrgb(89 129 189)
HSLhsl(216 43.1% 54.51%)
OKLCHoklch(0.6 0.1 258.28)
CMYKcmyk(52.91% 31.75% 0% 25.88%)
Android#ff5981bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5981bd;
background-color: #5981bd;
bg-[#5981bd]