Skip to content
Vectorlight.net

#5a5fbf

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

HEX
#5a5fbf
RGB
90, 95, 191
HSL
237.03°, 44.1%, 55.1%
OKLCH
0.53 0.15 277.86
Names
—
Lists

Codes

FormatValue
HEX#5a5fbf
RGBrgb(90 95 191)
HSLhsl(237.03 44.1% 55.1%)
OKLCHoklch(0.53 0.15 277.86)
CMYKcmyk(52.88% 50.26% 0% 25.1%)
Android#ff5a5fbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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