#2B302F#2B302F
#2B302F is a dark, near-neutral grey. Relative luminance 0.028; OKLCH L 30.4% C 0.007 H 182.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B302F |
|---|---|
| RGB | rgb(43, 48, 47) |
| HSL | hsl(168, 5%, 18%) |
| HSV | hsv(168, 10%, 19%) |
| CMYK | cmyk(10.4%, 0%, 2.1%, 81.2%) |
| CIE-LAB | lab(19.36, -2.42, -0.11) |
| CIE-LCH | lch(19.36, 2.42, 182.49°) |
| OKLab | oklab(30.39% -0.0072 -0.0003) |
| OKLCH | oklch(30.39% 0.007 182.5) |
| XYZ | xyz(2.5662, 2.8327, 3.1003) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Charcoal (survey)
#343837
ΔE00 2.71
Onyx
#353839
ΔE00 3.45
Dark Grey
#363737
ΔE00 3.72
Gunmetal
#2A3439
ΔE00 4.15
Charcoal Grey
#3C4142
ΔE00 5.73
Charcoal
#36454F
ΔE00 9.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B302F #302B2C
analogous
#2B302C #2B302F #2B2E30
triadic
#2B302F #2F2B30 #302F2B
tetradic
#2B302F #2C2B30 #302B2C #2E302B
square
#2B302F #2C2B30 #302B2C #2E302B
split-complementary
#2B302F #302B2E #302C2B
monochromatic
#0E1010 #0E1010 #2B302F #48504F #65716E
Accessibility & contrast
On white
13.40
#2B302F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2B302F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B302F
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B302F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B302F | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F2F2F
Deuteranopia (green-blind)
#2E2F2F
Tritanopia (blue-blind)
#2A3030
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2b302f; /* rgb */ color: rgb(43, 48, 47); /* oklch */ color: oklch(30.4% 0.007 182.5);
Tailwind
colors: {
custom: {
50: '#646867',
500: '#2b302f',
950: '#000000',
},
}SCSS
$custom: #2b302f; $custom-light: #646867; $custom-dark: #000000;
JSON
{
"hex": "#2b302f",
"rgb": {
"r": 43,
"g": 48,
"b": 47
},
"hsl": {
"h": 168,
"s": 5.495,
"l": 17.843
},
"oklch": {
"l": 0.30393,
"c": 0.00721,
"h": 182.5
},
"luminance": 0.02833
}Semantic roles & 50–950 ramp
primary
#2B302F
secondary
#5F5859
accent
#7984AF
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A