#302B2F#302B2F
#302B2F is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.6% C 0.010 H 332.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #302B2F |
|---|---|
| RGB | rgb(48, 43, 47) |
| HSL | hsl(312, 5%, 18%) |
| HSV | hsv(312, 10%, 19%) |
| CMYK | cmyk(0%, 10.4%, 2.1%, 81.2%) |
| CIE-LAB | lab(18.19, 3.19, -1.76) |
| CIE-LCH | lch(18.19, 3.64, 331.06°) |
| OKLab | oklab(29.6% 0.0089 -0.0046) |
| OKLCH | oklch(29.6% 0.01 332.5) |
| XYZ | xyz(2.5958, 2.5614, 3.0464) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 6.16
Onyx
#353839
ΔE00 7.00
Charcoal (survey)
#343837
ΔE00 8.12
Dark
#1B2431
ΔE00 8.74
Gunmetal
#2A3439
ΔE00 9.32
Charcoal Grey
#3C4142
ΔE00 9.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302B2F #2B302C
analogous
#2E2B30 #302B2F #302B2C
triadic
#302B2F #2F302B #2B2F30
tetradic
#302B2F #302E2B #2B302C #2B2C30
square
#302B2F #302E2B #2B302C #2B2C30
split-complementary
#302B2F #2C302B #2B302E
monochromatic
#100E10 #100E10 #302B2F #50484F #71656E
Accessibility & contrast
On white
13.89
#302B2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#302B2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302B2F
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302B2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302B2F | 1.00 | 13.89 | 1.51 | 13.89 |
| #FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2C2F
Deuteranopia (green-blind)
#2C2D2F
Tritanopia (blue-blind)
#312B2C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #302b2f; /* rgb */ color: rgb(48, 43, 47); /* oklch */ color: oklch(29.6% 0.010 332.5);
Tailwind
colors: {
custom: {
50: '#686467',
500: '#302b2f',
950: '#000000',
},
}SCSS
$custom: #302b2f; $custom-light: #686467; $custom-dark: #000000;
JSON
{
"hex": "#302b2f",
"rgb": {
"r": 48,
"g": 43,
"b": 47
},
"hsl": {
"h": 312,
"s": 5.495,
"l": 17.843
},
"oklch": {
"l": 0.29598,
"c": 0.01008,
"h": 332.5
},
"luminance": 0.02561
}Semantic roles & 50–950 ramp
primary
#302B2F
secondary
#585F59
accent
#AF8479
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A