Skip to content
Vectorlight.net

#516afd

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

HEX
#516afd
RGB
81, 106, 253
HSL
231.28°, 97.73%, 65.49%
OKLCH
0.59 0.22 270.78
Names
—
Lists

Codes

FormatValue
HEX#516afd
RGBrgb(81 106 253)
HSLhsl(231.28 97.73% 65.49%)
OKLCHoklch(0.59 0.22 270.78)
CMYKcmyk(67.98% 58.1% 0% 0.78%)
Android#ff516afd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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