#342F2F#342F2F
#342F2F is a dark, near-neutral grey. Relative luminance 0.030; OKLCH L 31.0% C 0.007 H 17.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #342F2F |
|---|---|
| RGB | rgb(52, 47, 47) |
| HSL | hsl(0, 5%, 19%) |
| HSV | hsv(0, 10%, 20%) |
| CMYK | cmyk(0%, 9.6%, 9.6%, 79.6%) |
| CIE-LAB | lab(19.92, 2.24, 0.81) |
| CIE-LCH | lch(19.92, 2.38, 19.93°) |
| OKLab | oklab(31.05% 0.0069 0.0022) |
| OKLCH | oklch(31.05% 0.007 17.6) |
| XYZ | xyz(2.9457, 2.9684, 3.1065) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 4.46
Onyx
#353839
ΔE00 5.67
Charcoal (survey)
#343837
ΔE00 6.52
Charcoal Grey
#3C4142
ΔE00 8.20
Gunmetal
#2A3439
ΔE00 8.94
Espresso
#4B382A
ΔE00 10.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#342F2F #2F3434
analogous
#342F32 #342F2F #34322F
triadic
#342F2F #2F342F #2F2F34
tetradic
#342F2F #32342F #2F3434 #322F34
square
#342F2F #32342F #2F3434 #322F34
split-complementary
#342F2F #2F3432 #2F3234
monochromatic
#100F0F #141212 #342F2F #544C4C #746969
Accessibility & contrast
On white
13.18
#342F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#342F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #342F2F
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##342F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##342F2F | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30302F
Deuteranopia (green-blind)
#31302F
Tritanopia (blue-blind)
#352F2F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #342f2f; /* rgb */ color: rgb(52, 47, 47); /* oklch */ color: oklch(31.0% 0.007 17.6);
Tailwind
colors: {
custom: {
50: '#6b6767',
500: '#342f2f',
950: '#000000',
},
}SCSS
$custom: #342f2f; $custom-light: #6b6767; $custom-dark: #000000;
JSON
{
"hex": "#342f2f",
"rgb": {
"r": 52,
"g": 47,
"b": 47
},
"hsl": {
"h": 0,
"s": 5.051,
"l": 19.412
},
"oklch": {
"l": 0.31048,
"c": 0.00723,
"h": 17.6
},
"luminance": 0.02968
}Semantic roles & 50–950 ramp
primary
#342F2F
secondary
#5C6363
accent
#AEAE7A
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A