#5a5bbd
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 | #5a5bbd | |
| RGB | rgb(90 91 189) | |
| HSL | hsl(239.39 42.86% 54.71%) | |
| OKLCH | oklch(0.52 0.15 279.39) | |
| CMYK | cmyk(52.38% 51.85% 0% 25.88%) | |
| Android | #ff5a5bbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.72:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.66: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="#5a5bbd"
Gradient stop
<stop stop-color="#5a5bbd"/>
CSS variable + fill
:root { --c: #5a5bbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5a5bbd; background-color: #5a5bbd; bg-[#5a5bbd]