Skip to content
Vectorlight.net

#3871df

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

HEX
#3871df
RGB
56, 113, 223
HSL
219.52°, 72.29%, 54.71%
OKLCH
0.57 0.18 261.88
Names
—
Lists

Codes

FormatValue
HEX#3871df
RGBrgb(56 113 223)
HSLhsl(219.52 72.29% 54.71%)
OKLCHoklch(0.57 0.18 261.88)
CMYKcmyk(74.89% 49.33% 0% 12.55%)
Android#ff3871df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3871df;
background-color: #3871df;
bg-[#3871df]