#56589d
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 | #56589d | |
| RGB | rgb(86 88 157) | |
| HSL | hsl(238.31 29.22% 47.65%) | |
| OKLCH | oklch(0.49 0.11 280.34) | |
| CMYK | cmyk(45.22% 43.95% 0% 38.43%) | |
| Android | #ff56589d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.40:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.27: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="#56589d"
Gradient stop
<stop stop-color="#56589d"/>
CSS variable + fill
:root { --c: #56589d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #56589d; background-color: #56589d; bg-[#56589d]