#5757ae
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 | #5757ae | |
| RGB | rgb(87 87 174) | |
| HSL | hsl(240 34.94% 51.18%) | |
| OKLCH | oklch(0.5 0.14 280.36) | |
| CMYK | cmyk(50% 50% 0% 31.76%) | |
| Android | #ff5757ae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.21:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.37: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="#5757ae"
Gradient stop
<stop stop-color="#5757ae"/>
CSS variable + fill
:root { --c: #5757ae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5757ae; background-color: #5757ae; bg-[#5757ae]