Skip to content
Vectorlight.net

#5872fa

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

HEX
#5872fa
RGB
88, 114, 250
HSL
230.37°, 94.19%, 66.27%
OKLCH
0.61 0.2 270.92
Names
—
Lists

Codes

FormatValue
HEX#5872fa
RGBrgb(88 114 250)
HSLhsl(230.37 94.19% 66.27%)
OKLCHoklch(0.61 0.2 270.92)
CMYKcmyk(64.8% 54.4% 0% 1.96%)
Android#ff5872fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5872fa;
background-color: #5872fa;
bg-[#5872fa]