#2D2A2F#2D2A2F
#2D2A2F is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 29.0% C 0.010 H 312.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2A2F |
|---|---|
| RGB | rgb(45, 42, 47) |
| HSL | hsl(276, 6%, 17%) |
| HSV | hsv(276, 11%, 18%) |
| CMYK | cmyk(4.3%, 10.6%, 0%, 81.6%) |
| CIE-LAB | lab(17.55, 2.55, -2.75) |
| CIE-LCH | lch(17.55, 3.75, 312.85°) |
| OKLab | oklab(29.02% 0.0066 -0.0073) |
| OKLCH | oklch(29.02% 0.01 312.1) |
| XYZ | xyz(2.4232, 2.4191, 3.0280) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 6.06
Onyx
#353839
ΔE00 6.64
Dark
#1B2431
ΔE00 7.37
Charcoal (survey)
#343837
ΔE00 7.78
Gunmetal
#2A3439
ΔE00 8.23
Charcoal Grey
#3C4142
ΔE00 9.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2A2F #2C2F2A
analogous
#2B2A2F #2D2A2F #2F2A2F
triadic
#2D2A2F #2F2D2A #2A2F2D
tetradic
#2D2A2F #2F2B2A #2C2F2A #2A2F2F
square
#2D2A2F #2F2B2A #2C2F2A #2A2F2F
split-complementary
#2D2A2F #2F2F2A #2A2F2B
monochromatic
#0F0E10 #0F0E10 #2D2A2F #4C474F #6B6470
Accessibility & contrast
On white
14.15
#2D2A2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#2D2A2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2A2F
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2A2F | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292B2F
Deuteranopia (green-blind)
#2A2B2F
Tritanopia (blue-blind)
#2D2B2C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #2d2a2f; /* rgb */ color: rgb(45, 42, 47); /* oklch */ color: oklch(29.0% 0.010 312.1);
Tailwind
colors: {
custom: {
50: '#656367',
500: '#2d2a2f',
950: '#000000',
},
}SCSS
$custom: #2d2a2f; $custom-light: #656367; $custom-dark: #000000;
JSON
{
"hex": "#2d2a2f",
"rgb": {
"r": 45,
"g": 42,
"b": 47
},
"hsl": {
"h": 276,
"s": 5.618,
"l": 17.451
},
"oklch": {
"l": 0.29017,
"c": 0.0099,
"h": 312.1
},
"luminance": 0.02419
}Semantic roles & 50–950 ramp
primary
#2D2A2F
secondary
#5A5E57
accent
#AF798F
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#050506
muted
#7A797A