Skip to content
Vectorlight.net

#515786

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

HEX
#515786
RGB
81, 87, 134
HSL
233.21°, 24.65%, 42.16%
OKLCH
0.47 0.08 277.5
Names
—
Lists

Codes

FormatValue
HEX#515786
RGBrgb(81 87 134)
HSLhsl(233.21 24.65% 42.16%)
OKLCHoklch(0.47 0.08 277.5)
CMYKcmyk(39.55% 35.07% 0% 47.45%)
Android#ff515786

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.05: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="#515786"
Gradient stop
<stop stop-color="#515786"/>
CSS variable + fill
:root { --c: #515786; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #515786;
background-color: #515786;
bg-[#515786]