#516dbc
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 | #516dbc | |
| RGB | rgb(81 109 188) | |
| HSL | hsl(224.3 44.4% 52.75%) | |
| OKLCH | oklch(0.55 0.13 267.44) | |
| CMYK | cmyk(56.91% 42.02% 0% 26.27%) | |
| Android | #ff516dbc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.26: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="#516dbc"
Gradient stop
<stop stop-color="#516dbc"/>
CSS variable + fill
:root { --c: #516dbc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #516dbc; background-color: #516dbc; bg-[#516dbc]