Skip to content
Vectorlight.net

#51529c

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

HEX
#51529c
RGB
81, 82, 156
HSL
239.2°, 31.65%, 46.47%
OKLCH
0.47 0.12 280.37
Names
—
Lists

Codes

FormatValue
HEX#51529c
RGBrgb(81 82 156)
HSLhsl(239.2 31.65% 46.47%)
OKLCHoklch(0.47 0.12 280.37)
CMYKcmyk(48.08% 47.44% 0% 38.82%)
Android#ff51529c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #51529c;
background-color: #51529c;
bg-[#51529c]