#2A2F2B#2A2F2B
#2A2F2B is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.9% C 0.010 H 151.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2F2B |
|---|---|
| RGB | rgb(42, 47, 43) |
| HSL | hsl(132, 6%, 17%) |
| HSV | hsv(132, 11%, 18%) |
| CMYK | cmyk(10.6%, 0%, 8.5%, 81.6%) |
| CIE-LAB | lab(18.80, -3.16, 1.83) |
| CIE-LCH | lch(18.80, 3.65, 149.97°) |
| OKLab | oklab(29.88% -0.0088 0.0048) |
| OKLCH | oklch(29.88% 0.01 151.5) |
| XYZ | xyz(2.4073, 2.6997, 2.6793) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.75
Dark Grey
#363737
ΔE00 4.98
Onyx
#353839
ΔE00 4.99
Gunmetal
#2A3439
ΔE00 6.08
Charcoal Grey
#3C4142
ΔE00 6.85
Almost Black
#070D0D
ΔE00 10.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2F2B #2F2A2E
analogous
#2C2F2A #2A2F2B #2A2F2E
triadic
#2A2F2B #2B2A2F #2F2B2A
tetradic
#2A2F2B #2A2C2F #2F2A2E #2F2E2A
square
#2A2F2B #2A2C2F #2F2A2E #2F2E2A
split-complementary
#2A2F2B #2E2A2F #2F2A2C
monochromatic
#0E100F #0E100F #2A2F2B #474F49 #647066
Accessibility & contrast
On white
13.64
#2A2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#2A2F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2F2B
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2F2B | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2E2B
Deuteranopia (green-blind)
#2E2D2B
Tritanopia (blue-blind)
#292F2E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #2a2f2b; /* rgb */ color: rgb(42, 47, 43); /* oklch */ color: oklch(29.9% 0.010 151.5);
Tailwind
colors: {
custom: {
50: '#636764',
500: '#2a2f2b',
950: '#000000',
},
}SCSS
$custom: #2a2f2b; $custom-light: #636764; $custom-dark: #000000;
JSON
{
"hex": "#2a2f2b",
"rgb": {
"r": 42,
"g": 47,
"b": 43
},
"hsl": {
"h": 132,
"s": 5.618,
"l": 17.451
},
"oklch": {
"l": 0.29882,
"c": 0.00998,
"h": 151.5
},
"luminance": 0.027
}Semantic roles & 50–950 ramp
primary
#2A2F2B
secondary
#5E575D
accent
#79A4AF
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79