#4147df
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 | #4147df | |
| RGB | rgb(65 71 223) | |
| HSL | hsl(237.72 71.17% 56.47%) | |
| OKLCH | oklch(0.5 0.23 273) | |
| CMYK | cmyk(70.85% 68.16% 0% 12.55%) | |
| Android | #ff4147df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.57:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.19: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="#4147df"
Gradient stop
<stop stop-color="#4147df"/>
CSS variable + fill
:root { --c: #4147df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4147df; background-color: #4147df; bg-[#4147df]