Skip to content
Vectorlight.net

#516cdc

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

HEX
#516cdc
RGB
81, 108, 220
HSL
228.35°, 66.51%, 59.02%
OKLCH
0.57 0.17 269.93
Names
—
Lists

Codes

FormatValue
HEX#516cdc
RGBrgb(81 108 220)
HSLhsl(228.35 66.51% 59.02%)
OKLCHoklch(0.57 0.17 269.93)
CMYKcmyk(63.18% 50.91% 0% 13.73%)
Android#ff516cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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