#5a6784
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 | #5a6784 | |
| RGB | rgb(90 103 132) | |
| HSL | hsl(221.43 18.92% 43.53%) | |
| OKLCH | oklch(0.51 0.05 265.89) | |
| CMYK | cmyk(31.82% 21.97% 0% 48.24%) | |
| Android | #ff5a6784 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.70: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="#5a6784"
Gradient stop
<stop stop-color="#5a6784"/>
CSS variable + fill
:root { --c: #5a6784; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5a6784; background-color: #5a6784; bg-[#5a6784]