Skip to content
Vectorlight.net

#2771ac

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

HEX
#2771ac
RGB
39, 113, 172
HSL
206.62°, 63.03%, 41.37%
OKLCH
0.53 0.12 246.76
Names
—
Lists

Codes

FormatValue
HEX#2771ac
RGBrgb(39 113 172)
HSLhsl(206.62 63.03% 41.37%)
OKLCHoklch(0.53 0.12 246.76)
CMYKcmyk(77.33% 34.3% 0% 32.55%)
Android#ff2771ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #2771ac;
background-color: #2771ac;
bg-[#2771ac]