#2B2A2F#2B2A2F
#2B2A2F is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.8% C 0.009 H 295.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A2F |
|---|---|
| RGB | rgb(43, 42, 47) |
| HSL | hsl(252, 6%, 17%) |
| HSV | hsv(252, 11%, 18%) |
| CMYK | cmyk(8.5%, 10.6%, 0%, 81.6%) |
| CIE-LAB | lab(17.34, 1.68, -3.08) |
| CIE-LCH | lch(17.34, 3.51, 298.59°) |
| OKLab | oklab(28.81% 0.0039 -0.0083) |
| OKLCH | oklch(28.81% 0.009 295) |
| XYZ | xyz(2.3372, 2.3748, 3.0240) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 5.58
Onyx
#353839
ΔE00 5.94
Dark
#1B2431
ΔE00 6.36
Gunmetal
#2A3439
ΔE00 6.92
Charcoal (survey)
#343837
ΔE00 7.05
Charcoal Grey
#3C4142
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A2F #2E2F2A
analogous
#2A2C2F #2B2A2F #2E2A2F
triadic
#2B2A2F #2F2B2A #2A2F2B
tetradic
#2B2A2F #2F2A2C #2E2F2A #2A2F2E
square
#2B2A2F #2F2A2C #2E2F2A #2A2F2E
split-complementary
#2B2A2F #2F2E2A #2C2F2A
monochromatic
#0F0E10 #0F0E10 #2B2A2F #49474F #666470
Accessibility & contrast
On white
14.24
#2B2A2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#2B2A2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A2F
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A2F | 1.00 | 14.24 | 1.48 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292B2F
Deuteranopia (green-blind)
#292B2F
Tritanopia (blue-blind)
#2A2B2C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2b2a2f; /* rgb */ color: rgb(43, 42, 47); /* oklch */ color: oklch(28.8% 0.009 295.0);
Tailwind
colors: {
custom: {
50: '#646367',
500: '#2b2a2f',
950: '#000000',
},
}SCSS
$custom: #2b2a2f; $custom-light: #646367; $custom-dark: #000000;
JSON
{
"hex": "#2b2a2f",
"rgb": {
"r": 43,
"g": 42,
"b": 47
},
"hsl": {
"h": 252,
"s": 5.618,
"l": 17.451
},
"oklch": {
"l": 0.28806,
"c": 0.00911,
"h": 295
},
"luminance": 0.02375
}Semantic roles & 50–950 ramp
primary
#2B2A2F
secondary
#5D5E57
accent
#AF79A4
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A