Skip to content
Vectorlight.net

#3971aa

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

HEX
#3971aa
RGB
57, 113, 170
HSL
210.27°, 49.78%, 44.51%
OKLCH
0.54 0.11 250.85
Names
—
Lists

Codes

FormatValue
HEX#3971aa
RGBrgb(57 113 170)
HSLhsl(210.27 49.78% 44.51%)
OKLCHoklch(0.54 0.11 250.85)
CMYKcmyk(66.47% 33.53% 0% 33.33%)
Android#ff3971aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3971aa;
background-color: #3971aa;
bg-[#3971aa]