Skip to content
Vectorlight.net

#3871ba

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

HEX
#3871ba
RGB
56, 113, 186
HSL
213.69°, 53.72%, 47.45%
OKLCH
0.55 0.13 255.71
Names
—
Lists

Codes

FormatValue
HEX#3871ba
RGBrgb(56 113 186)
HSLhsl(213.69 53.72% 47.45%)
OKLCHoklch(0.55 0.13 255.71)
CMYKcmyk(69.89% 39.25% 0% 27.06%)
Android#ff3871ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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