Skip to content
Vectorlight.net

#5274bf

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

HEX
#5274bf
RGB
82, 116, 191
HSL
221.28°, 45.99%, 53.53%
OKLCH
0.57 0.12 264.42
Names
—
Lists

Codes

FormatValue
HEX#5274bf
RGBrgb(82 116 191)
HSLhsl(221.28 45.99% 53.53%)
OKLCHoklch(0.57 0.12 264.42)
CMYKcmyk(57.07% 39.27% 0% 25.1%)
Android#ff5274bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5274bf;
background-color: #5274bf;
bg-[#5274bf]