#42404d
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 | #42404d | |
| RGB | rgb(66 64 77) | |
| HSL | hsl(249.23 9.22% 27.65%) | |
| OKLCH | oklch(0.38 0.02 292.37) | |
| CMYK | cmyk(14.29% 16.88% 0% 69.8%) | |
| Android | #ff42404d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.07: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="#42404d"
Gradient stop
<stop stop-color="#42404d"/>
CSS variable + fill
:root { --c: #42404d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #42404d; background-color: #42404d; bg-[#42404d]