Skip to content
Vectorlight.net

#5261ec

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

HEX
#5261ec
RGB
82, 97, 236
HSL
234.16°, 80.21%, 62.35%
OKLCH
0.56 0.21 273.04
Names
—
Lists

Codes

FormatValue
HEX#5261ec
RGBrgb(82 97 236)
HSLhsl(234.16 80.21% 62.35%)
OKLCHoklch(0.56 0.21 273.04)
CMYKcmyk(65.25% 58.9% 0% 7.45%)
Android#ff5261ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5261ec;
background-color: #5261ec;
bg-[#5261ec]