Skip to content
Vectorlight.net

#5a5366

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

HEX
#5a5366
RGB
90, 83, 102
HSL
262.11°, 10.27%, 36.27%
OKLCH
0.46 0.03 301.95
Names
—
Lists

Codes

FormatValue
HEX#5a5366
RGBrgb(90 83 102)
HSLhsl(262.11 10.27% 36.27%)
OKLCHoklch(0.46 0.03 301.95)
CMYKcmyk(11.76% 18.63% 0% 60%)
Android#ff5a5366

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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