Skip to content
Vectorlight.net

#3981ef

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

HEX
#3981ef
RGB
57, 129, 239
HSL
216.26°, 85.05%, 58.04%
OKLCH
0.62 0.18 258.9
Names
—
Lists

Codes

FormatValue
HEX#3981ef
RGBrgb(57 129 239)
HSLhsl(216.26 85.05% 58.04%)
OKLCHoklch(0.62 0.18 258.9)
CMYKcmyk(76.15% 46.03% 0% 6.27%)
Android#ff3981ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3981ef;
background-color: #3981ef;
bg-[#3981ef]