#516cab
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #516cab | |
| RGB | rgb(81 108 171) | |
| HSL | hsl(222 35.71% 49.41%) | |
| OKLCH | oklch(0.54 0.1 265.48) | |
| CMYK | cmyk(52.63% 36.84% 0% 32.94%) | |
| Android | #ff516cab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.14:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.08:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#516cab"
Gradient stop
<stop stop-color="#516cab"/>
CSS variable + fill
:root { --c: #516cab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #516cab; background-color: #516cab; bg-[#516cab]