#515372
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 | #515372 | |
| RGB | rgb(81 83 114) | |
| HSL | hsl(236.36 16.92% 38.24%) | |
| OKLCH | oklch(0.45 0.05 281.31) | |
| CMYK | cmyk(28.95% 27.19% 0% 55.29%) | |
| Android | #ff515372 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.83:1
Fail AA normal text
Fail 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="#515372"
Gradient stop
<stop stop-color="#515372"/>
CSS variable + fill
:root { --c: #515372; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #515372; background-color: #515372; bg-[#515372]