#2A2E2C#2A2E2C
#2A2E2C is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.6% C 0.007 H 164.5°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E2C |
|---|---|
| RGB | rgb(42, 46, 44) |
| HSL | hsl(150, 5%, 17%) |
| HSV | hsv(150, 9%, 18%) |
| CMYK | cmyk(8.7%, 0%, 4.3%, 82%) |
| CIE-LAB | lab(18.49, -2.25, 0.68) |
| CIE-LCH | lch(18.49, 2.35, 163.06°) |
| OKLab | oklab(29.65% -0.0064 0.0018) |
| OKLCH | oklch(29.65% 0.007 164.5) |
| XYZ | xyz(2.3864, 2.6281, 2.7639) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.31
Dark Grey
#363737
ΔE00 4.08
Onyx
#353839
ΔE00 4.09
Gunmetal
#2A3439
ΔE00 5.10
Charcoal Grey
#3C4142
ΔE00 6.47
Almost Black
#070D0D
ΔE00 9.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E2C #2E2A2C
analogous
#2A2E2A #2A2E2C #2A2E2E
triadic
#2A2E2C #2C2A2E #2E2C2A
tetradic
#2A2E2C #2A2A2E #2E2A2C #2E2E2A
square
#2A2E2C #2A2A2E #2E2A2C #2E2E2A
split-complementary
#2A2E2C #2E2A2E #2E2A2A
monochromatic
#0F100F #0F100F #2A2E2C #474E4B #646E69
Accessibility & contrast
On white
13.77
#2A2E2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#2A2E2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E2C
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E2C | 1.00 | 13.77 | 1.53 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2D2C
Deuteranopia (green-blind)
#2D2D2C
Tritanopia (blue-blind)
#292E2D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2a2e2c; /* rgb */ color: rgb(42, 46, 44); /* oklch */ color: oklch(29.6% 0.007 164.5);
Tailwind
colors: {
custom: {
50: '#636665',
500: '#2a2e2c',
950: '#000000',
},
}SCSS
$custom: #2a2e2c; $custom-light: #636665; $custom-dark: #000000;
JSON
{
"hex": "#2a2e2c",
"rgb": {
"r": 42,
"g": 46,
"b": 44
},
"hsl": {
"h": 150,
"s": 4.545,
"l": 17.255
},
"oklch": {
"l": 0.29647,
"c": 0.00666,
"h": 164.5
},
"luminance": 0.02628
}Semantic roles & 50–950 ramp
primary
#2A2E2C
secondary
#5D575A
accent
#7A94AE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050605
muted
#797A7A