Skip to content
Vectorlight.net

#5262ea

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

HEX
#5262ea
RGB
82, 98, 234
HSL
233.68°, 78.35%, 61.96%
OKLCH
0.56 0.2 272.87
Names
—
Lists

Codes

FormatValue
HEX#5262ea
RGBrgb(82 98 234)
HSLhsl(233.68 78.35% 61.96%)
OKLCHoklch(0.56 0.2 272.87)
CMYKcmyk(64.96% 58.12% 0% 8.24%)
Android#ff5262ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5262ea;
background-color: #5262ea;
bg-[#5262ea]