Skip to content
Vectorlight.net

#5271bc

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

HEX
#5271bc
RGB
82, 113, 188
HSL
222.45°, 44.17%, 52.94%
OKLCH
0.56 0.12 265.68
Names
—
Lists

Codes

FormatValue
HEX#5271bc
RGBrgb(82 113 188)
HSLhsl(222.45 44.17% 52.94%)
OKLCHoklch(0.56 0.12 265.68)
CMYKcmyk(56.38% 39.89% 0% 26.27%)
Android#ff5271bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5271bc;
background-color: #5271bc;
bg-[#5271bc]