#302B2E#302B2E
#302B2E is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.6% C 0.009 H 340.9°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #302B2E |
|---|---|
| RGB | rgb(48, 43, 46) |
| HSL | hsl(324, 5%, 18%) |
| HSV | hsv(324, 10%, 19%) |
| CMYK | cmyk(0%, 10.4%, 4.2%, 81.2%) |
| CIE-LAB | lab(18.16, 2.95, -1.12) |
| CIE-LCH | lch(18.16, 3.16, 339.28°) |
| OKLab | oklab(29.56% 0.0085 -0.0029) |
| OKLCH | oklch(29.56% 0.009 340.9) |
| XYZ | xyz(2.5759, 2.5534, 2.9414) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 5.85
Onyx
#353839
ΔE00 6.76
Charcoal (survey)
#343837
ΔE00 7.82
Dark
#1B2431
ΔE00 9.00
Gunmetal
#2A3439
ΔE00 9.23
Charcoal Grey
#3C4142
ΔE00 9.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302B2E #2B302D
analogous
#2F2B30 #302B2E #302B2B
triadic
#302B2E #2E302B #2B2E30
tetradic
#302B2E #302F2B #2B302D #2B2B30
square
#302B2E #302F2B #2B302D #2B2B30
split-complementary
#302B2E #2B302B #2B302F
monochromatic
#100E0F #100E0F #302B2E #50484D #71656C
Accessibility & contrast
On white
13.90
#302B2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#302B2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302B2E
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302B2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302B2E | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2C2E
Deuteranopia (green-blind)
#2C2D2E
Tritanopia (blue-blind)
#312B2C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #302b2e; /* rgb */ color: rgb(48, 43, 46); /* oklch */ color: oklch(29.6% 0.009 340.9);
Tailwind
colors: {
custom: {
50: '#686466',
500: '#302b2e',
950: '#000000',
},
}SCSS
$custom: #302b2e; $custom-light: #686466; $custom-dark: #000000;
JSON
{
"hex": "#302b2e",
"rgb": {
"r": 48,
"g": 43,
"b": 46
},
"hsl": {
"h": 324,
"s": 5.495,
"l": 17.843
},
"oklch": {
"l": 0.29559,
"c": 0.00895,
"h": 340.9
},
"luminance": 0.02553
}Semantic roles & 50–950 ramp
primary
#302B2E
secondary
#585F5B
accent
#AF8F79
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A