#312E2E#312E2E
#312E2E is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.004 H 17.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #312E2E |
|---|---|
| RGB | rgb(49, 46, 46) |
| HSL | hsl(0, 3%, 19%) |
| HSV | hsv(0, 6%, 19%) |
| CMYK | cmyk(0%, 6.1%, 6.1%, 80.8%) |
| CIE-LAB | lab(19.24, 1.34, 0.48) |
| CIE-LCH | lch(19.24, 1.43, 19.70°) |
| OKLab | oklab(30.43% 0.0041 0.0013) |
| OKLCH | oklch(30.43% 0.004 17.3) |
| XYZ | xyz(2.7367, 2.8042, 2.9813) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 3.73
Onyx
#353839
ΔE00 4.78
Charcoal (survey)
#343837
ΔE00 5.53
Charcoal Grey
#3C4142
ΔE00 7.54
Gunmetal
#2A3439
ΔE00 7.65
Dark
#1B2431
ΔE00 9.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#312E2E #2E3131
analogous
#312E2F #312E2E #312F2E
triadic
#312E2E #2E312E #2E2E31
tetradic
#312E2E #2F312E #2E3131 #2F2E31
square
#312E2E #2F312E #2E3131 #2F2E31
split-complementary
#312E2E #2E312F #2E2F31
monochromatic
#100F0F #111010 #312E2E #514C4C #706969
Accessibility & contrast
On white
13.45
#312E2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#312E2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #312E2E
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##312E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##312E2E | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2E2E
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#322E2E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #312e2e; /* rgb */ color: rgb(49, 46, 46); /* oklch */ color: oklch(30.4% 0.004 17.3);
Tailwind
colors: {
custom: {
50: '#696666',
500: '#312e2e',
950: '#000000',
},
}SCSS
$custom: #312e2e; $custom-light: #696666; $custom-dark: #000000;
JSON
{
"hex": "#312e2e",
"rgb": {
"r": 49,
"g": 46,
"b": 46
},
"hsl": {
"h": 0,
"s": 3.158,
"l": 18.627
},
"oklch": {
"l": 0.30432,
"c": 0.00433,
"h": 17.3
},
"luminance": 0.02804
}Semantic roles & 50–950 ramp
primary
#312E2E
secondary
#5B5F5F
accent
#ACAC7B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A