Skip to content
Vectorlight.net

#516bdb

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

HEX
#516bdb
RGB
81, 107, 219
HSL
228.7°, 65.71%, 58.82%
OKLCH
0.57 0.17 270.21
Names
—
Lists

Codes

FormatValue
HEX#516bdb
RGBrgb(81 107 219)
HSLhsl(228.7 65.71% 58.82%)
OKLCHoklch(0.57 0.17 270.21)
CMYKcmyk(63.01% 51.14% 0% 14.12%)
Android#ff516bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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