#2C2E2E#2C2E2E
#2C2E2E is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.9% C 0.003 H 197.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2E2E |
|---|---|
| RGB | rgb(44, 46, 46) |
| HSL | hsl(180, 2%, 18%) |
| HSV | hsv(180, 4%, 18%) |
| CMYK | cmyk(4.3%, 0%, 0%, 82%) |
| CIE-LAB | lab(18.74, -0.88, -0.31) |
| CIE-LCH | lch(18.74, 0.94, 199.22°) |
| OKLab | oklab(29.92% -0.0027 -0.0008) |
| OKLCH | oklch(29.92% 0.003 197) |
| XYZ | xyz(2.5087, 2.6867, 2.9707) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 3.03
Onyx
#353839
ΔE00 3.26
Charcoal (survey)
#343837
ΔE00 3.40
Gunmetal
#2A3439
ΔE00 4.71
Charcoal Grey
#3C4142
ΔE00 6.19
Dark
#1B2431
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2E2E #2E2C2C
analogous
#2C2E2D #2C2E2E #2C2D2E
triadic
#2C2E2E #2E2C2E #2E2E2C
tetradic
#2C2E2E #2D2C2E #2E2C2C #2D2E2C
square
#2C2E2E #2D2C2E #2E2C2C #2D2E2C
split-complementary
#2C2E2E #2E2C2D #2E2D2C
monochromatic
#0F1010 #0F1010 #2C2E2E #4A4D4D #686D6D
Accessibility & contrast
On white
13.66
#2C2E2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#2C2E2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2E2E
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2E2E | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2E2E
Deuteranopia (green-blind)
#2D2D2E
Tritanopia (blue-blind)
#2B2E2E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #2c2e2e; /* rgb */ color: rgb(44, 46, 46); /* oklch */ color: oklch(29.9% 0.003 197.0);
Tailwind
colors: {
custom: {
50: '#656666',
500: '#2c2e2e',
950: '#000000',
},
}SCSS
$custom: #2c2e2e; $custom-light: #656666; $custom-dark: #000000;
JSON
{
"hex": "#2c2e2e",
"rgb": {
"r": 44,
"g": 46,
"b": 46
},
"hsl": {
"h": 180,
"s": 2.222,
"l": 17.647
},
"oklch": {
"l": 0.29917,
"c": 0.00284,
"h": 197
},
"luminance": 0.02687
}Semantic roles & 50–950 ramp
primary
#2C2E2E
secondary
#5C5959
accent
#7C7CAB
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A