Skip to content
Vectorlight.net

#5257db

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

HEX
#5257db
RGB
82, 87, 219
HSL
237.81°, 65.55%, 59.02%
OKLCH
0.53 0.2 275.71
Names
—
Lists

Codes

FormatValue
HEX#5257db
RGBrgb(82 87 219)
HSLhsl(237.81 65.55% 59.02%)
OKLCHoklch(0.53 0.2 275.71)
CMYKcmyk(62.56% 60.27% 0% 14.12%)
Android#ff5257db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5257db;
background-color: #5257db;
bg-[#5257db]