#2F2B2F#2F2B2F
#2F2B2F is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.5% C 0.009 H 325.8°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B2F |
|---|---|
| RGB | rgb(47, 43, 47) |
| HSL | hsl(300, 4%, 18%) |
| HSV | hsv(300, 9%, 18%) |
| CMYK | cmyk(0%, 8.5%, 0%, 81.6%) |
| CIE-LAB | lab(18.09, 2.74, -1.93) |
| CIE-LCH | lch(18.09, 3.35, 324.83°) |
| OKLab | oklab(29.49% 0.0075 -0.0051) |
| OKLCH | oklch(29.49% 0.009 325.8) |
| XYZ | xyz(2.5492, 2.5373, 3.0442) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 5.80
Onyx
#353839
ΔE00 6.55
Charcoal (survey)
#343837
ΔE00 7.67
Dark
#1B2431
ΔE00 8.24
Gunmetal
#2A3439
ΔE00 8.65
Charcoal Grey
#3C4142
ΔE00 9.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B2F #2B2F2B
analogous
#2D2B2F #2F2B2F #2F2B2D
triadic
#2F2B2F #2F2F2B #2B2F2F
tetradic
#2F2B2F #2F2D2B #2B2F2B #2B2D2F
square
#2F2B2F #2F2D2B #2B2F2B #2B2D2F
split-complementary
#2F2B2F #2D2F2B #2B2F2D
monochromatic
#100F10 #100F10 #2F2B2F #4F484F #6F656F
Accessibility & contrast
On white
13.93
#2F2B2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#2F2B2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B2F
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B2F | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2C2F
Deuteranopia (green-blind)
#2C2C2F
Tritanopia (blue-blind)
#2F2B2C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2f2b2f; /* rgb */ color: rgb(47, 43, 47); /* oklch */ color: oklch(29.5% 0.009 325.8);
Tailwind
colors: {
custom: {
50: '#676467',
500: '#2f2b2f',
950: '#000000',
},
}SCSS
$custom: #2f2b2f; $custom-light: #676467; $custom-dark: #000000;
JSON
{
"hex": "#2f2b2f",
"rgb": {
"r": 47,
"g": 43,
"b": 47
},
"hsl": {
"h": 300,
"s": 4.444,
"l": 17.647
},
"oklch": {
"l": 0.29489,
"c": 0.00911,
"h": 325.8
},
"luminance": 0.02537
}Semantic roles & 50–950 ramp
primary
#2F2B2F
secondary
#585E58
accent
#AE7A7A
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A