Skip to content
Vectorlight.net

#5252de

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

HEX
#5252de
RGB
82, 82, 222
HSL
240°, 67.96%, 59.61%
OKLCH
0.53 0.21 276.54
Names
—
Lists

Codes

FormatValue
HEX#5252de
RGBrgb(82 82 222)
HSLhsl(240 67.96% 59.61%)
OKLCHoklch(0.53 0.21 276.54)
CMYKcmyk(63.06% 63.06% 0% 12.94%)
Android#ff5252de

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5252de;
background-color: #5252de;
bg-[#5252de]