#2D2A2E#2D2A2E
#2D2A2E is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.0% C 0.008 H 317.7°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2A2E |
|---|---|
| RGB | rgb(45, 42, 46) |
| HSL | hsl(285, 5%, 17%) |
| HSV | hsv(285, 9%, 18%) |
| CMYK | cmyk(2.2%, 8.7%, 0%, 82%) |
| CIE-LAB | lab(17.51, 2.31, -2.11) |
| CIE-LCH | lch(17.51, 3.12, 317.59°) |
| OKLab | oklab(28.98% 0.0062 -0.0056) |
| OKLCH | oklch(28.98% 0.008 317.7) |
| XYZ | xyz(2.4032, 2.4111, 2.9230) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 5.68
Onyx
#353839
ΔE00 6.33
Charcoal (survey)
#343837
ΔE00 7.40
Dark
#1B2431
ΔE00 7.64
Gunmetal
#2A3439
ΔE00 8.07
Charcoal Grey
#3C4142
ΔE00 9.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2A2E #2B2E2A
analogous
#2B2A2E #2D2A2E #2E2A2D
triadic
#2D2A2E #2E2D2A #2A2E2D
tetradic
#2D2A2E #2E2B2A #2B2E2A #2A2D2E
square
#2D2A2E #2E2B2A #2B2E2A #2A2D2E
split-complementary
#2D2A2E #2D2E2A #2A2E2B
monochromatic
#100F10 #100F10 #2D2A2E #4C474E #6C646E
Accessibility & contrast
On white
14.17
#2D2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#2D2A2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2A2E
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2A2E | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#2A2B2E
Tritanopia (blue-blind)
#2D2A2B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2d2a2e; /* rgb */ color: rgb(45, 42, 46); /* oklch */ color: oklch(29.0% 0.008 317.7);
Tailwind
colors: {
custom: {
50: '#656366',
500: '#2d2a2e',
950: '#000000',
},
}SCSS
$custom: #2d2a2e; $custom-light: #656366; $custom-dark: #000000;
JSON
{
"hex": "#2d2a2e",
"rgb": {
"r": 45,
"g": 42,
"b": 46
},
"hsl": {
"h": 285,
"s": 4.545,
"l": 17.255
},
"oklch": {
"l": 0.28976,
"c": 0.00832,
"h": 317.7
},
"luminance": 0.02411
}Semantic roles & 50–950 ramp
primary
#2D2A2E
secondary
#585D57
accent
#AE7A87
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#050506
muted
#7A797A