Skip to content
Vectorlight.net

#5246cb

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

HEX
#5246cb
RGB
82, 70, 203
HSL
245.41°, 56.12%, 53.53%
OKLCH
0.49 0.2 280.27
Names
—
Lists

Codes

FormatValue
HEX#5246cb
RGBrgb(82 70 203)
HSLhsl(245.41 56.12% 53.53%)
OKLCHoklch(0.49 0.2 280.27)
CMYKcmyk(59.61% 65.52% 0% 20.39%)
Android#ff5246cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5246cb;
background-color: #5246cb;
bg-[#5246cb]