Skip to content
Vectorlight.net

#5f5fee

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

HEX
#5f5fee
RGB
95, 95, 238
HSL
240°, 80.79%, 65.29%
OKLCH
0.57 0.21 277.41
Names
—
Lists

Codes

FormatValue
HEX#5f5fee
RGBrgb(95 95 238)
HSLhsl(240 80.79% 65.29%)
OKLCHoklch(0.57 0.21 277.41)
CMYKcmyk(60.08% 60.08% 0% 6.67%)
Android#ff5f5fee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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