#30312E#30312E
#30312E is a dark, near-neutral grey. Relative luminance 0.030; OKLCH L 31.1% C 0.005 H 121.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #30312E |
|---|---|
| RGB | rgb(48, 49, 46) |
| HSL | hsl(80, 3%, 19%) |
| HSV | hsv(80, 6%, 19%) |
| CMYK | cmyk(2%, 0%, 6.1%, 80.8%) |
| CIE-LAB | lab(20.13, -1.13, 1.76) |
| CIE-LCH | lch(20.13, 2.09, 122.78°) |
| OKLab | oklab(31.11% -0.0029 0.0046) |
| OKLCH | oklch(31.11% 0.005 121.8) |
| XYZ | xyz(2.8103, 3.0223, 3.0195) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 2.88
Charcoal (survey)
#343837
ΔE00 2.90
Onyx
#353839
ΔE00 3.52
Charcoal Grey
#3C4142
ΔE00 5.91
Gunmetal
#2A3439
ΔE00 6.22
Charcoal
#36454F
ΔE00 10.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30312E #2F2E31
analogous
#31302E #30312E #2E312E
triadic
#30312E #2E3031 #312E30
tetradic
#30312E #2E3130 #2F2E31 #312E2E
square
#30312E #2E3130 #2F2E31 #312E2E
split-complementary
#30312E #2E2E31 #302E31
monochromatic
#0F100F #111110 #30312E #4F514C #6E7069
Accessibility & contrast
On white
13.09
#30312E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#30312E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30312E
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30312E | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31312E
Deuteranopia (green-blind)
#31312E
Tritanopia (blue-blind)
#303130
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #30312e; /* rgb */ color: rgb(48, 49, 46); /* oklch */ color: oklch(31.1% 0.005 121.8);
Tailwind
colors: {
custom: {
50: '#686966',
500: '#30312e',
950: '#000000',
},
}SCSS
$custom: #30312e; $custom-light: #686966; $custom-dark: #000000;
JSON
{
"hex": "#30312e",
"rgb": {
"r": 48,
"g": 49,
"b": 46
},
"hsl": {
"h": 80,
"s": 3.158,
"l": 18.627
},
"oklch": {
"l": 0.31107,
"c": 0.00543,
"h": 121.8
},
"luminance": 0.03022
}Semantic roles & 50–950 ramp
primary
#30312E
secondary
#5D5B5F
accent
#7BAC8C
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A