#4078ea
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 | #4078ea | |
| RGB | rgb(64 120 234) | |
| HSL | hsl(220.24 80.19% 58.43%) | |
| OKLCH | oklch(0.6 0.18 262.55) | |
| CMYK | cmyk(72.65% 48.72% 0% 8.24%) | |
| Android | #ff4078ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.12:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.09: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="#4078ea"
Gradient stop
<stop stop-color="#4078ea"/>
CSS variable + fill
:root { --c: #4078ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4078ea; background-color: #4078ea; bg-[#4078ea]