Skip to content
Vectorlight.net

#5a9fac

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

HEX
#5a9fac
RGB
90, 159, 172
HSL
189.51°, 33.06%, 51.37%
OKLCH
0.66 0.07 211.07
Names
—
Lists

Codes

FormatValue
HEX#5a9fac
RGBrgb(90 159 172)
HSLhsl(189.51 33.06% 51.37%)
OKLCHoklch(0.66 0.07 211.07)
CMYKcmyk(47.67% 7.56% 0% 32.55%)
Android#ff5a9fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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