#4952cc
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 | #4952cc | |
| RGB | rgb(73 82 204) | |
| HSL | hsl(235.88 56.22% 54.31%) | |
| OKLCH | oklch(0.5 0.19 274.36) | |
| CMYK | cmyk(64.22% 59.8% 0% 20%) | |
| Android | #ff4952cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.36: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="#4952cc"
Gradient stop
<stop stop-color="#4952cc"/>
CSS variable + fill
:root { --c: #4952cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4952cc; background-color: #4952cc; bg-[#4952cc]