#4835db
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 | #4835db | |
| RGB | rgb(72 53 219) | |
| HSL | hsl(246.87 69.75% 53.33%) | |
| OKLCH | oklch(0.47 0.24 277.5) | |
| CMYK | cmyk(67.12% 75.8% 0% 14.12%) | |
| Android | #ff4835db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.47:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.80: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="#4835db"
Gradient stop
<stop stop-color="#4835db"/>
CSS variable + fill
:root { --c: #4835db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4835db; background-color: #4835db; bg-[#4835db]