Skip to content
Vectorlight.net

#516ccb

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

HEX
#516ccb
RGB
81, 108, 203
HSL
226.72°, 53.98%, 55.69%
OKLCH
0.56 0.15 269.18
Names
—
Lists

Codes

FormatValue
HEX#516ccb
RGBrgb(81 108 203)
HSLhsl(226.72 53.98% 55.69%)
OKLCHoklch(0.56 0.15 269.18)
CMYKcmyk(60.1% 46.8% 0% 20.39%)
Android#ff516ccb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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