#302A2E#302A2E
#302A2E is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.011 H 338.0°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #302A2E |
|---|---|
| RGB | rgb(48, 42, 46) |
| HSL | hsl(320, 7%, 18%) |
| HSV | hsv(320, 13%, 19%) |
| CMYK | cmyk(0%, 12.5%, 4.2%, 81.2%) |
| CIE-LAB | lab(17.84, 3.65, -1.59) |
| CIE-LCH | lch(17.84, 3.98, 336.40°) |
| OKLab | oklab(29.31% 0.0104 -0.0042) |
| OKLCH | oklch(29.31% 0.011 338) |
| XYZ | xyz(2.5400, 2.4816, 2.9294) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 6.73
Onyx
#353839
ΔE00 7.63
Charcoal (survey)
#343837
ΔE00 8.73
Dark
#1B2431
ΔE00 9.16
Gunmetal
#2A3439
ΔE00 10.05
Charcoal Grey
#3C4142
ΔE00 10.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302A2E #2A302C
analogous
#2F2A30 #302A2E #302A2B
triadic
#302A2E #2E302A #2A2E30
tetradic
#302A2E #302F2A #2A302C #2A2B30
square
#302A2E #302F2A #2A302C #2A2B30
split-complementary
#302A2E #2B302A #2A302F
monochromatic
#100E10 #100E10 #302A2E #51474D #71636D
Accessibility & contrast
On white
14.03
#302A2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#302A2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302A2E
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302A2E | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#2B2C2E
Tritanopia (blue-blind)
#312A2B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #302a2e; /* rgb */ color: rgb(48, 42, 46); /* oklch */ color: oklch(29.3% 0.011 338.0);
Tailwind
colors: {
custom: {
50: '#686366',
500: '#302a2e',
950: '#000000',
},
}SCSS
$custom: #302a2e; $custom-light: #686366; $custom-dark: #000000;
JSON
{
"hex": "#302a2e",
"rgb": {
"r": 48,
"g": 42,
"b": 46
},
"hsl": {
"h": 320,
"s": 6.667,
"l": 17.647
},
"oklch": {
"l": 0.29307,
"c": 0.0112,
"h": 338
},
"luminance": 0.02482
}Semantic roles & 50–950 ramp
primary
#302A2E
secondary
#575F59
accent
#B08B78
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A