#524fcb
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 | #524fcb | |
| RGB | rgb(82 79 203) | |
| HSL | hsl(241.45 54.39% 55.29%) | |
| OKLCH | oklch(0.5 0.19 278.42) | |
| CMYK | cmyk(59.61% 61.08% 0% 20.39%) | |
| Android | #ff524fcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#524fcb"
Gradient stop
<stop stop-color="#524fcb"/>
CSS variable + fill
:root { --c: #524fcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #524fcb; background-color: #524fcb; bg-[#524fcb]