#2D2E2F#2D2E2F
#2D2E2F is a dark, near-neutral grey. Relative luminance 0.027; OKLCH L 30.1% C 0.002 H 248.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2E2F |
|---|---|
| RGB | rgb(45, 46, 47) |
| HSL | hsl(210, 2%, 18%) |
| HSV | hsv(210, 4%, 18%) |
| CMYK | cmyk(4.3%, 2.1%, 0%, 81.6%) |
| CIE-LAB | lab(18.87, -0.20, -0.80) |
| CIE-LCH | lch(18.87, 0.82, 255.88°) |
| OKLab | oklab(30.06% -0.0009 -0.0021) |
| OKLCH | oklch(30.06% 0.002 248) |
| XYZ | xyz(2.5722, 2.7171, 3.0777) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 2.95
Onyx
#353839
ΔE00 3.31
Charcoal (survey)
#343837
ΔE00 3.93
Gunmetal
#2A3439
ΔE00 4.94
Charcoal Grey
#3C4142
ΔE00 6.33
Dark
#1B2431
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2E2F #2F2E2D
analogous
#2D2F2F #2D2E2F #2D2D2F
triadic
#2D2E2F #2F2D2E #2E2F2D
tetradic
#2D2E2F #2F2D2F #2F2E2D #2D2F2D
square
#2D2E2F #2F2D2F #2F2E2D #2D2F2D
split-complementary
#2D2E2F #2F2D2D #2F2F2D
monochromatic
#0F0F10 #0F0F10 #2D2E2F #4B4D4E #696B6E
Accessibility & contrast
On white
13.61
#2D2E2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#2D2E2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2E2F
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2E2F | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2E2F
Deuteranopia (green-blind)
#2D2E2F
Tritanopia (blue-blind)
#2D2E2E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #2d2e2f; /* rgb */ color: rgb(45, 46, 47); /* oklch */ color: oklch(30.1% 0.002 248.0);
Tailwind
colors: {
custom: {
50: '#656667',
500: '#2d2e2f',
950: '#000000',
},
}SCSS
$custom: #2d2e2f; $custom-light: #656667; $custom-dark: #000000;
JSON
{
"hex": "#2d2e2f",
"rgb": {
"r": 45,
"g": 46,
"b": 47
},
"hsl": {
"h": 210,
"s": 2.174,
"l": 18.039
},
"oklch": {
"l": 0.30055,
"c": 0.0023,
"h": 248
},
"luminance": 0.02717
}Semantic roles & 50–950 ramp
primary
#2D2E2F
secondary
#5D5C5B
accent
#947CAB
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A