#4e70ed
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 | #4e70ed | |
| RGB | rgb(78 112 237) | |
| HSL | hsl(227.17 81.54% 61.76%) | |
| OKLCH | oklch(0.59 0.19 268.44) | |
| CMYK | cmyk(67.09% 52.74% 0% 7.06%) | |
| Android | #ff4e70ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.31:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.86:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#4e70ed"
Gradient stop
<stop stop-color="#4e70ed"/>
CSS variable + fill
:root { --c: #4e70ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4e70ed; background-color: #4e70ed; bg-[#4e70ed]