Skip to content
Vectorlight.net

#516ceb

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

HEX
#516ceb
RGB
81, 108, 235
HSL
229.48°, 79.38%, 61.96%
OKLCH
0.58 0.19 270.26
Names
—
Lists

Codes

FormatValue
HEX#516ceb
RGBrgb(81 108 235)
HSLhsl(229.48 79.38% 61.96%)
OKLCHoklch(0.58 0.19 270.26)
CMYKcmyk(65.53% 54.04% 0% 7.84%)
Android#ff516ceb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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