Skip to content
Vectorlight.net

#52587f

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

HEX
#52587f
RGB
82, 88, 127
HSL
232°, 21.53%, 40.98%
OKLCH
0.47 0.06 276.95
Names
—
Lists

Codes

FormatValue
HEX#52587f
RGBrgb(82 88 127)
HSLhsl(232 21.53% 40.98%)
OKLCHoklch(0.47 0.06 276.95)
CMYKcmyk(35.43% 30.71% 0% 50.2%)
Android#ff52587f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #52587f;
background-color: #52587f;
bg-[#52587f]