Skip to content
Vectorlight.net

#5271ba

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

HEX
#5271ba
RGB
82, 113, 186
HSL
222.12°, 42.98%, 52.55%
OKLCH
0.56 0.12 265.37
Names
—
Lists

Codes

FormatValue
HEX#5271ba
RGBrgb(82 113 186)
HSLhsl(222.12 42.98% 52.55%)
OKLCHoklch(0.56 0.12 265.37)
CMYKcmyk(55.91% 39.25% 0% 27.06%)
Android#ff5271ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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