Skip to content
Vectorlight.net

#2771fb

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

HEX
#2771fb
RGB
39, 113, 251
HSL
219.06°, 96.36%, 56.86%
OKLCH
0.59 0.22 261.48
Names
—
Lists

Codes

FormatValue
HEX#2771fb
RGBrgb(39 113 251)
HSLhsl(219.06 96.36% 56.86%)
OKLCHoklch(0.59 0.22 261.48)
CMYKcmyk(84.46% 54.98% 0% 1.57%)
Android#ff2771fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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