Skip to content
Vectorlight.net

#5970fb

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

HEX
#5970fb
RGB
89, 112, 251
HSL
231.48°, 95.29%, 66.67%
OKLCH
0.6 0.21 271.66
Names
—
Lists

Codes

FormatValue
HEX#5970fb
RGBrgb(89 112 251)
HSLhsl(231.48 95.29% 66.67%)
OKLCHoklch(0.6 0.21 271.66)
CMYKcmyk(64.54% 55.38% 0% 1.57%)
Android#ff5970fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5970fb;
background-color: #5970fb;
bg-[#5970fb]