Skip to content
Vectorlight.net

#5b797e

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

HEX
#5b797e
RGB
91, 121, 126
HSL
188.57°, 16.13%, 42.55%
OKLCH
0.55 0.04 208.83
Names
—
Lists

Codes

FormatValue
HEX#5b797e
RGBrgb(91 121 126)
HSLhsl(188.57 16.13% 42.55%)
OKLCHoklch(0.55 0.04 208.83)
CMYKcmyk(27.78% 3.97% 0% 50.59%)
Android#ff5b797e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.48:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#5b797e"
Gradient stop
<stop stop-color="#5b797e"/>
CSS variable + fill
:root { --c: #5b797e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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