#515786
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 | #515786 | |
| RGB | rgb(81 87 134) | |
| HSL | hsl(233.21 24.65% 42.16%) | |
| OKLCH | oklch(0.47 0.08 277.5) | |
| CMYK | cmyk(39.55% 35.07% 0% 47.45%) | |
| Android | #ff515786 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.05: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="#515786"
Gradient stop
<stop stop-color="#515786"/>
CSS variable + fill
:root { --c: #515786; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #515786; background-color: #515786; bg-[#515786]