#4d58df
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 | #4d58df | |
| RGB | rgb(77 88 223) | |
| HSL | hsl(235.48 69.52% 58.82%) | |
| OKLCH | oklch(0.53 0.2 273.72) | |
| CMYK | cmyk(65.47% 60.54% 0% 12.55%) | |
| Android | #ff4d58df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.77: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="#4d58df"
Gradient stop
<stop stop-color="#4d58df"/>
CSS variable + fill
:root { --c: #4d58df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4d58df; background-color: #4d58df; bg-[#4d58df]