#040429
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 | #040429 | |
| RGB | rgb(4 4 41) | |
| HSL | hsl(240 82.22% 8.82%) | |
| OKLCH | oklch(0.15 0.08 272.27) | |
| CMYK | cmyk(90.24% 90.24% 0% 83.92%) | |
| Android | #ff040429 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
19.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.05: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="#040429"
Gradient stop
<stop stop-color="#040429"/>
CSS variable + fill
:root { --c: #040429; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #040429; background-color: #040429; bg-[#040429]