Skip to content
Vectorlight.net

#516aba

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

HEX
#516aba
RGB
81, 106, 186
HSL
225.71°, 43.21%, 52.35%
OKLCH
0.54 0.13 268.8
Names
—
Lists

Codes

FormatValue
HEX#516aba
RGBrgb(81 106 186)
HSLhsl(225.71 43.21% 52.35%)
OKLCHoklch(0.54 0.13 268.8)
CMYKcmyk(56.45% 43.01% 0% 27.06%)
Android#ff516aba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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