#403f39
a deep, muted gray · cool · closest name: darkslategray
RGB
64, 63, 57
HSL
51°, 6%, 24%
CMYK
0, 2, 11, 75
Luminance
0.0494
Every format
| HEX | #403f39 |
| RGB | rgb(64, 63, 57) |
| HSL | hsl(51, 6%, 24%) |
| CMYK | cmyk(0%, 2%, 11%, 75%) |
| LAB | lab(26.6 -0.9 3.8) |
| LCH | lch(26.6 3.9 102.7) |
| OKLCH | oklch(0.367 0.010 99.1) |
Copy-ready code
/* CSS */
color: #403f39;
background-color: #403f39;
/* Tailwind (arbitrary) */
class="text-[#403f39] bg-[#403f39]"
/* SCSS */
$brand: #403f39;
/* SwiftUI */
Color(red: 0.251, green: 0.247, blue: 0.224)
/* Android */
Color.parseColor("#403f39")Accessibility — WCAG contrast
Aa
#403f39 on white: 10.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#403f39 on black: 1.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green24.7%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta1.6%
Yellow10.9%
Key (black)74.9%
Color previews
#403f39 text on a black background
contrast 1.99:1
Card sample
#403f39 text on a white background
contrast 10.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #403f39;
Background color
Panel with #403f39 background
background-color: #403f39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #403f39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 63, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 63, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #403f39; background: linear-gradient(135deg, #403f39, #3C4039);