#51528c
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 | #51528c | |
| RGB | rgb(81 82 140) | |
| HSL | hsl(238.98 26.7% 43.33%) | |
| OKLCH | oklch(0.46 0.09 281.39) | |
| CMYK | cmyk(42.14% 41.43% 0% 45.1%) | |
| Android | #ff51528c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.93: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="#51528c"
Gradient stop
<stop stop-color="#51528c"/>
CSS variable + fill
:root { --c: #51528c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #51528c; background-color: #51528c; bg-[#51528c]