#2A2B2F#2A2B2F
#2A2B2F is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.0% C 0.007 H 274.7°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2B2F |
|---|---|
| RGB | rgb(42, 43, 47) |
| HSL | hsl(228, 6%, 17%) |
| HSV | hsv(228, 11%, 18%) |
| CMYK | cmyk(10.6%, 8.5%, 0%, 81.6%) |
| CIE-LAB | lab(17.58, 0.56, -2.74) |
| CIE-LCH | lch(17.58, 2.80, 281.44°) |
| OKLab | oklab(28.97% 0.0006 -0.0074) |
| OKLCH | oklch(28.97% 0.007 274.7) |
| XYZ | xyz(2.3317, 2.4252, 3.0340) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 4.68
Onyx
#353839
ΔE00 4.83
Gunmetal
#2A3439
ΔE00 5.35
Charcoal (survey)
#343837
ΔE00 5.82
Dark
#1B2431
ΔE00 6.09
Charcoal Grey
#3C4142
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2B2F #2F2E2A
analogous
#2A2E2F #2A2B2F #2C2A2F
triadic
#2A2B2F #2F2A2B #2B2F2A
tetradic
#2A2B2F #2F2A2E #2F2E2A #2A2F2C
square
#2A2B2F #2F2A2E #2F2E2A #2A2F2C
split-complementary
#2A2B2F #2F2C2A #2E2F2A
monochromatic
#0E0F10 #0E0F10 #2A2B2F #47494F #646670
Accessibility & contrast
On white
14.14
#2A2B2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#2A2B2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2B2F
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2B2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2B2F | 1.00 | 14.14 | 1.49 | 14.14 |
| #FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2B2F
Deuteranopia (green-blind)
#2A2B2F
Tritanopia (blue-blind)
#292C2C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2a2b2f; /* rgb */ color: rgb(42, 43, 47); /* oklch */ color: oklch(29.0% 0.007 274.7);
Tailwind
colors: {
custom: {
50: '#636467',
500: '#2a2b2f',
950: '#000000',
},
}SCSS
$custom: #2a2b2f; $custom-light: #636467; $custom-dark: #000000;
JSON
{
"hex": "#2a2b2f",
"rgb": {
"r": 42,
"g": 43,
"b": 47
},
"hsl": {
"h": 228,
"s": 5.618,
"l": 17.451
},
"oklch": {
"l": 0.28965,
"c": 0.00739,
"h": 274.7
},
"luminance": 0.02425
}Semantic roles & 50–950 ramp
primary
#2A2B2F
secondary
#5E5D57
accent
#A479AF
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A