Skip to content
Vectorlight.net

#515b8a

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

HEX
#515b8a
RGB
81, 91, 138
HSL
229.47°, 26.03%, 42.94%
OKLCH
0.48 0.08 274.03
Names
—
Lists

Codes

FormatValue
HEX#515b8a
RGBrgb(81 91 138)
HSLhsl(229.47 26.03% 42.94%)
OKLCHoklch(0.48 0.08 274.03)
CMYKcmyk(41.3% 34.06% 0% 45.88%)
Android#ff515b8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #515b8a;
background-color: #515b8a;
bg-[#515b8a]