Skip to content
Vectorlight.net

#5b799e

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

HEX
#5b799e
RGB
91, 121, 158
HSL
213.13°, 26.91%, 48.82%
OKLCH
0.57 0.07 254.05
Names
—
Lists

Codes

FormatValue
HEX#5b799e
RGBrgb(91 121 158)
HSLhsl(213.13 26.91% 48.82%)
OKLCHoklch(0.57 0.07 254.05)
CMYKcmyk(42.41% 23.42% 0% 38.04%)
Android#ff5b799e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5b799e;
background-color: #5b799e;
bg-[#5b799e]