#524ebe
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 | #524ebe | |
| RGB | rgb(82 78 190) | |
| HSL | hsl(242.14 46.28% 52.55%) | |
| OKLCH | oklch(0.49 0.17 279.69) | |
| CMYK | cmyk(56.84% 58.95% 0% 25.49%) | |
| Android | #ff524ebe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.19: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="#524ebe"
Gradient stop
<stop stop-color="#524ebe"/>
CSS variable + fill
:root { --c: #524ebe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #524ebe; background-color: #524ebe; bg-[#524ebe]