Skip to content
Vectorlight.net

#5c97fc

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

HEX
#5c97fc
RGB
92, 151, 252
HSL
217.88°, 96.39%, 67.45%
OKLCH
0.68 0.16 260.47
Names
—
Lists

Codes

FormatValue
HEX#5c97fc
RGBrgb(92 151 252)
HSLhsl(217.88 96.39% 67.45%)
OKLCHoklch(0.68 0.16 260.47)
CMYKcmyk(63.49% 40.08% 0% 1.18%)
Android#ff5c97fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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