#2A2D2E#2A2D2E
#2A2D2E is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.5% C 0.005 H 219.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2D2E |
|---|---|
| RGB | rgb(42, 45, 46) |
| HSL | hsl(195, 5%, 17%) |
| HSV | hsv(195, 9%, 18%) |
| CMYK | cmyk(8.7%, 2.2%, 0%, 82%) |
| CIE-LAB | lab(18.22, -1.07, -1.10) |
| CIE-LCH | lch(18.22, 1.54, 225.83°) |
| OKLab | oklab(29.46% -0.0036 -0.003) |
| OKLCH | oklch(29.46% 0.005 219.7) |
| XYZ | xyz(2.3863, 2.5662, 2.9539) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Onyx
#353839
ΔE00 3.53
Dark Grey
#363737
ΔE00 3.55
Charcoal (survey)
#343837
ΔE00 3.79
Gunmetal
#2A3439
ΔE00 4.15
Charcoal Grey
#3C4142
ΔE00 6.42
Dark
#1B2431
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2D2E #2E2B2A
analogous
#2A2E2D #2A2D2E #2A2B2E
triadic
#2A2D2E #2E2A2D #2D2E2A
tetradic
#2A2D2E #2D2A2E #2E2B2A #2B2E2A
square
#2A2D2E #2D2A2E #2E2B2A #2B2E2A
split-complementary
#2A2D2E #2E2A2B #2E2D2A
monochromatic
#0F1010 #0F1010 #2A2D2E #474C4E #646C6E
Accessibility & contrast
On white
13.88
#2A2D2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#2A2D2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2D2E
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2D2E | 1.00 | 13.88 | 1.51 | 13.88 |
| #FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#2C2C2E
Tritanopia (blue-blind)
#292D2D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2a2d2e; /* rgb */ color: rgb(42, 45, 46); /* oklch */ color: oklch(29.5% 0.005 219.7);
Tailwind
colors: {
custom: {
50: '#636566',
500: '#2a2d2e',
950: '#000000',
},
}SCSS
$custom: #2a2d2e; $custom-light: #636566; $custom-dark: #000000;
JSON
{
"hex": "#2a2d2e",
"rgb": {
"r": 42,
"g": 45,
"b": 46
},
"hsl": {
"h": 195,
"s": 4.545,
"l": 17.255
},
"oklch": {
"l": 0.29455,
"c": 0.00464,
"h": 219.7
},
"luminance": 0.02566
}Semantic roles & 50–950 ramp
primary
#2A2D2E
secondary
#5D5857
accent
#877AAE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A