#5239ae
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 | #5239ae | |
| RGB | rgb(82 57 174) | |
| HSL | hsl(252.82 50.65% 45.29%) | |
| OKLCH | oklch(0.44 0.18 286.64) | |
| CMYK | cmyk(52.87% 67.24% 0% 31.76%) | |
| Android | #ff5239ae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.21:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.55: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="#5239ae"
Gradient stop
<stop stop-color="#5239ae"/>
CSS variable + fill
:root { --c: #5239ae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5239ae; background-color: #5239ae; bg-[#5239ae]