Skip to content
Vectorlight.net

#5274ff

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

HEX
#5274ff
RGB
82, 116, 255
HSL
228.21°, 100%, 66.08%
OKLCH
0.61 0.21 268.97
Names
—
Lists

Codes

FormatValue
HEX#5274ff
RGBrgb(82 116 255)
HSLhsl(228.21 100% 66.08%)
OKLCHoklch(0.61 0.21 268.97)
CMYKcmyk(67.84% 54.51% 0% 0%)
Android#ff5274ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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