#2A2E2F#2A2E2F
#2A2E2F is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 29.8% C 0.006 H 214.4°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E2F |
|---|---|
| RGB | rgb(42, 46, 47) |
| HSL | hsl(192, 6%, 17%) |
| HSV | hsv(192, 11%, 18%) |
| CMYK | cmyk(10.6%, 2.1%, 0%, 81.6%) |
| CIE-LAB | lab(18.59, -1.50, -1.25) |
| CIE-LCH | lch(18.59, 1.95, 219.73°) |
| OKLab | oklab(29.76% -0.0049 -0.0033) |
| OKLCH | oklch(29.76% 0.006 214.4) |
| XYZ | xyz(2.4448, 2.6514, 3.0717) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Onyx
#353839
ΔE00 3.34
Charcoal (survey)
#343837
ΔE00 3.45
Dark Grey
#363737
ΔE00 3.56
Gunmetal
#2A3439
ΔE00 3.66
Charcoal Grey
#3C4142
ΔE00 6.10
Dark
#1B2431
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E2F #2F2B2A
analogous
#2A2F2E #2A2E2F #2A2C2F
triadic
#2A2E2F #2F2A2E #2E2F2A
tetradic
#2A2E2F #2E2A2F #2F2B2A #2C2F2A
square
#2A2E2F #2E2A2F #2F2B2A #2C2F2A
split-complementary
#2A2E2F #2F2A2C #2F2E2A
monochromatic
#0E1010 #0E1010 #2A2E2F #474E4F #646D70
Accessibility & contrast
On white
13.72
#2A2E2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#2A2E2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E2F
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E2F | 1.00 | 13.72 | 1.53 | 13.72 |
| #FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2E2F
Deuteranopia (green-blind)
#2C2D2F
Tritanopia (blue-blind)
#292E2E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2a2e2f; /* rgb */ color: rgb(42, 46, 47); /* oklch */ color: oklch(29.8% 0.006 214.4);
Tailwind
colors: {
custom: {
50: '#636667',
500: '#2a2e2f',
950: '#000000',
},
}SCSS
$custom: #2a2e2f; $custom-light: #636667; $custom-dark: #000000;
JSON
{
"hex": "#2a2e2f",
"rgb": {
"r": 42,
"g": 46,
"b": 47
},
"hsl": {
"h": 192,
"s": 5.618,
"l": 17.451
},
"oklch": {
"l": 0.29762,
"c": 0.00594,
"h": 214.4
},
"luminance": 0.02651
}Semantic roles & 50–950 ramp
primary
#2A2E2F
secondary
#5E5857
accent
#8479AF
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A