#5705bd
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 | #5705bd | |
| RGB | rgb(87 5 189) | |
| HSL | hsl(266.74 94.85% 38.04%) | |
| OKLCH | oklch(0.42 0.23 291.08) | |
| CMYK | cmyk(53.97% 97.35% 0% 25.88%) | |
| Android | #ff5705bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.16: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="#5705bd"
Gradient stop
<stop stop-color="#5705bd"/>
CSS variable + fill
:root { --c: #5705bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5705bd; background-color: #5705bd; bg-[#5705bd]