#45587e
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 | #45587e | |
| RGB | rgb(69 88 126) | |
| HSL | hsl(220 29.23% 38.24%) | |
| OKLCH | oklch(0.46 0.07 263.59) | |
| CMYK | cmyk(45.24% 30.16% 0% 50.59%) | |
| Android | #ff45587e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.95: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="#45587e"
Gradient stop
<stop stop-color="#45587e"/>
CSS variable + fill
:root { --c: #45587e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #45587e; background-color: #45587e; bg-[#45587e]