#2B2F2F#2B2F2F
#2B2F2F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.1% C 0.006 H 196.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2F2F |
|---|---|
| RGB | rgb(43, 47, 47) |
| HSL | hsl(180, 4%, 18%) |
| HSV | hsv(180, 9%, 18%) |
| CMYK | cmyk(8.5%, 0%, 0%, 81.6%) |
| CIE-LAB | lab(19.02, -1.75, -0.60) |
| CIE-LCH | lch(19.02, 1.85, 199.05°) |
| OKLab | oklab(30.13% -0.0054 -0.0016) |
| OKLCH | oklch(30.13% 0.006 196.8) |
| XYZ | xyz(2.5258, 2.7518, 3.0869) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 2.94
Onyx
#353839
ΔE00 3.17
Dark Grey
#363737
ΔE00 3.34
Gunmetal
#2A3439
ΔE00 3.93
Charcoal Grey
#3C4142
ΔE00 5.83
Dark
#1B2431
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2F2F #2F2B2B
analogous
#2B2F2D #2B2F2F #2B2D2F
triadic
#2B2F2F #2F2B2F #2F2F2B
tetradic
#2B2F2F #2D2B2F #2F2B2B #2D2F2B
square
#2B2F2F #2D2B2F #2F2B2B #2D2F2B
split-complementary
#2B2F2F #2F2B2D #2F2D2B
monochromatic
#0F1010 #0F1010 #2B2F2F #484F4F #656F6F
Accessibility & contrast
On white
13.54
#2B2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#2B2F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2F2F
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2F2F | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2F2F
Deuteranopia (green-blind)
#2E2E2F
Tritanopia (blue-blind)
#2A2F2F
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #2b2f2f; /* rgb */ color: rgb(43, 47, 47); /* oklch */ color: oklch(30.1% 0.006 196.8);
Tailwind
colors: {
custom: {
50: '#646767',
500: '#2b2f2f',
950: '#000000',
},
}SCSS
$custom: #2b2f2f; $custom-light: #646767; $custom-dark: #000000;
JSON
{
"hex": "#2b2f2f",
"rgb": {
"r": 43,
"g": 47,
"b": 47
},
"hsl": {
"h": 180,
"s": 4.444,
"l": 17.647
},
"oklch": {
"l": 0.30125,
"c": 0.00563,
"h": 196.8
},
"luminance": 0.02752
}Semantic roles & 50–950 ramp
primary
#2B2F2F
secondary
#5E5858
accent
#7A7AAE
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A