#31332F#31332F
#31332F is a dark, near-neutral grey. Relative luminance 0.032; OKLCH L 31.8% C 0.007 H 128.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #31332F |
|---|---|
| RGB | rgb(49, 51, 47) |
| HSL | hsl(90, 4%, 19%) |
| HSV | hsv(90, 8%, 20%) |
| CMYK | cmyk(3.9%, 0%, 7.8%, 80%) |
| CIE-LAB | lab(20.93, -1.80, 2.24) |
| CIE-LCH | lch(20.93, 2.87, 128.78°) |
| OKLab | oklab(31.77% -0.0047 0.0059) |
| OKLCH | oklch(31.77% 0.008 128.7) |
| XYZ | xyz(2.9635, 3.2259, 3.1553) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 2.59
Dark Grey
#363737
ΔE00 3.25
Onyx
#353839
ΔE00 3.70
Charcoal Grey
#3C4142
ΔE00 5.60
Gunmetal
#2A3439
ΔE00 6.39
Charcoal
#36454F
ΔE00 10.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31332F #312F33
analogous
#33332F #31332F #2F332F
triadic
#31332F #2F3133 #332F31
tetradic
#31332F #2F3333 #312F33 #332F2F
square
#31332F #2F3333 #312F33 #332F2F
split-complementary
#31332F #2F2F33 #332F33
monochromatic
#0F100F #121312 #31332F #50534C #6E736A
Accessibility & contrast
On white
12.76
#31332F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#31332F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31332F
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31332F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31332F | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#33322F
Tritanopia (blue-blind)
#313332
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #31332f; /* rgb */ color: rgb(49, 51, 47); /* oklch */ color: oklch(31.8% 0.007 128.7);
Tailwind
colors: {
custom: {
50: '#696a67',
500: '#31332f',
950: '#000000',
},
}SCSS
$custom: #31332f; $custom-light: #696a67; $custom-dark: #000000;
JSON
{
"hex": "#31332f",
"rgb": {
"r": 49,
"g": 51,
"b": 47
},
"hsl": {
"h": 90,
"s": 4.082,
"l": 19.216
},
"oklch": {
"l": 0.31767,
"c": 0.0075,
"h": 128.7
},
"luminance": 0.03226
}Semantic roles & 50–950 ramp
primary
#31332F
secondary
#5F5C62
accent
#7BAD94
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A