#2A2F2E#2A2F2E
#2A2F2E is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.0% C 0.007 H 182.5°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2F2E |
|---|---|
| RGB | rgb(42, 47, 46) |
| HSL | hsl(168, 6%, 17%) |
| HSV | hsv(168, 11%, 18%) |
| CMYK | cmyk(10.6%, 0%, 2.1%, 81.6%) |
| CIE-LAB | lab(18.90, -2.43, -0.11) |
| CIE-LCH | lch(18.90, 2.43, 182.48°) |
| OKLab | oklab(29.99% -0.0072 -0.0003) |
| OKLCH | oklch(29.99% 0.007 182.5) |
| XYZ | xyz(2.4644, 2.7225, 2.9799) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 3.02
Onyx
#353839
ΔE00 3.72
Dark Grey
#363737
ΔE00 3.95
Gunmetal
#2A3439
ΔE00 4.25
Charcoal Grey
#3C4142
ΔE00 6.04
Dark
#1B2431
ΔE00 9.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2F2E #2F2A2B
analogous
#2A2F2C #2A2F2E #2A2E2F
triadic
#2A2F2E #2E2A2F #2F2E2A
tetradic
#2A2F2E #2C2A2F #2F2A2B #2E2F2A
square
#2A2F2E #2C2A2F #2F2A2B #2E2F2A
split-complementary
#2A2F2E #2F2A2E #2F2C2A
monochromatic
#0E1010 #0E1010 #2A2F2E #474F4E #64706D
Accessibility & contrast
On white
13.60
#2A2F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#2A2F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2F2E
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2F2E | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2E2E
Deuteranopia (green-blind)
#2D2E2E
Tritanopia (blue-blind)
#292F2F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #2a2f2e; /* rgb */ color: rgb(42, 47, 46); /* oklch */ color: oklch(30.0% 0.007 182.5);
Tailwind
colors: {
custom: {
50: '#636766',
500: '#2a2f2e',
950: '#000000',
},
}SCSS
$custom: #2a2f2e; $custom-light: #636766; $custom-dark: #000000;
JSON
{
"hex": "#2a2f2e",
"rgb": {
"r": 42,
"g": 47,
"b": 46
},
"hsl": {
"h": 168,
"s": 5.618,
"l": 17.451
},
"oklch": {
"l": 0.29992,
"c": 0.00723,
"h": 182.5
},
"luminance": 0.02723
}Semantic roles & 50–950 ramp
primary
#2A2F2E
secondary
#5E5758
accent
#7984AF
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A