Skip to content
Vectorlight.net

#516aea

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

HEX
#516aea
RGB
81, 106, 234
HSL
230.2°, 78.46%, 61.76%
OKLCH
0.58 0.19 270.74
Names
—
Lists

Codes

FormatValue
HEX#516aea
RGBrgb(81 106 234)
HSLhsl(230.2 78.46% 61.76%)
OKLCHoklch(0.58 0.19 270.74)
CMYKcmyk(65.38% 54.7% 0% 8.24%)
Android#ff516aea

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.59:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

color / background
color: #516aea;
background-color: #516aea;
bg-[#516aea]