#2F2A2E#2F2A2E
#2F2A2E is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.2% C 0.010 H 332.5°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2A2E |
|---|---|
| RGB | rgb(47, 42, 46) |
| HSL | hsl(312, 6%, 17%) |
| HSV | hsv(312, 11%, 18%) |
| CMYK | cmyk(0%, 10.6%, 2.1%, 81.6%) |
| CIE-LAB | lab(17.73, 3.19, -1.77) |
| CIE-LCH | lch(17.73, 3.65, 331.07°) |
| OKLab | oklab(29.2% 0.009 -0.0047) |
| OKLCH | oklch(29.2% 0.01 332.5) |
| XYZ | xyz(2.4933, 2.4576, 2.9272) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 6.35
Onyx
#353839
ΔE00 7.18
Charcoal (survey)
#343837
ΔE00 8.27
Dark
#1B2431
ΔE00 8.65
Gunmetal
#2A3439
ΔE00 9.40
Charcoal Grey
#3C4142
ΔE00 9.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2A2E #2A2F2B
analogous
#2E2A2F #2F2A2E #2F2A2C
triadic
#2F2A2E #2E2F2A #2A2E2F
tetradic
#2F2A2E #2F2E2A #2A2F2B #2A2C2F
square
#2F2A2E #2F2E2A #2A2F2B #2A2C2F
split-complementary
#2F2A2E #2C2F2A #2A2F2E
monochromatic
#100E10 #100E10 #2F2A2E #4F474E #70646D
Accessibility & contrast
On white
14.08
#2F2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#2F2A2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2A2E
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2A2E | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#2B2C2E
Tritanopia (blue-blind)
#302A2B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2f2a2e; /* rgb */ color: rgb(47, 42, 46); /* oklch */ color: oklch(29.2% 0.010 332.5);
Tailwind
colors: {
custom: {
50: '#676366',
500: '#2f2a2e',
950: '#000000',
},
}SCSS
$custom: #2f2a2e; $custom-light: #676366; $custom-dark: #000000;
JSON
{
"hex": "#2f2a2e",
"rgb": {
"r": 47,
"g": 42,
"b": 46
},
"hsl": {
"h": 312,
"s": 5.618,
"l": 17.451
},
"oklch": {
"l": 0.29195,
"c": 0.01011,
"h": 332.5
},
"luminance": 0.02458
}Semantic roles & 50–950 ramp
primary
#2F2A2E
secondary
#575E58
accent
#AF8479
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A