#516285
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 | #516285 | |
| RGB | rgb(81 98 133) | |
| HSL | hsl(220.38 24.3% 41.96%) | |
| OKLCH | oklch(0.5 0.06 264.29) | |
| CMYK | cmyk(39.1% 26.32% 0% 47.84%) | |
| Android | #ff516285 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.43: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="#516285"
Gradient stop
<stop stop-color="#516285"/>
CSS variable + fill
:root { --c: #516285; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #516285; background-color: #516285; bg-[#516285]