Skip to content
Vectorlight.net

#5a799e

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

HEX
#5a799e
RGB
90, 121, 158
HSL
212.65°, 27.42%, 48.63%
OKLCH
0.57 0.07 253.31
Names
—
Lists

Codes

FormatValue
HEX#5a799e
RGBrgb(90 121 158)
HSLhsl(212.65 27.42% 48.63%)
OKLCHoklch(0.57 0.07 253.31)
CMYKcmyk(43.04% 23.42% 0% 38.04%)
Android#ff5a799e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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