#302A2C#302A2C
#302A2C is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.2% C 0.009 H 355.5°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #302A2C |
|---|---|
| RGB | rgb(48, 42, 44) |
| HSL | hsl(340, 7%, 18%) |
| HSV | hsv(340, 13%, 19%) |
| CMYK | cmyk(0%, 12.5%, 8.3%, 81.2%) |
| CIE-LAB | lab(17.77, 3.19, -0.30) |
| CIE-LCH | lch(17.77, 3.20, 354.68°) |
| OKLab | oklab(29.23% 0.0094 -0.0007) |
| OKLCH | oklch(29.23% 0.009 355.5) |
| XYZ | xyz(2.5015, 2.4662, 2.7266) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 6.20
Onyx
#353839
ΔE00 7.23
Charcoal (survey)
#343837
ΔE00 8.21
Dark
#1B2431
ΔE00 9.66
Gunmetal
#2A3439
ΔE00 9.92
Charcoal Grey
#3C4142
ΔE00 9.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302A2C #2A302E
analogous
#302A2F #302A2C #302B2A
triadic
#302A2C #2C302A #2A2C30
tetradic
#302A2C #2F302A #2A302E #2B2A30
square
#302A2C #2F302A #2A302E #2B2A30
split-complementary
#302A2C #2A302B #2A2F30
monochromatic
#100E0F #100E0F #302A2C #51474A #716368
Accessibility & contrast
On white
14.06
#302A2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#302A2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302A2C
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302A2C | 1.00 | 14.06 | 1.49 | 14.06 |
| #FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2B2C
Deuteranopia (green-blind)
#2C2C2C
Tritanopia (blue-blind)
#312A2B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #302a2c; /* rgb */ color: rgb(48, 42, 44); /* oklch */ color: oklch(29.2% 0.009 355.5);
Tailwind
colors: {
custom: {
50: '#686365',
500: '#302a2c',
950: '#000000',
},
}SCSS
$custom: #302a2c; $custom-light: #686365; $custom-dark: #000000;
JSON
{
"hex": "#302a2c",
"rgb": {
"r": 48,
"g": 42,
"b": 44
},
"hsl": {
"h": 340,
"s": 6.667,
"l": 17.647
},
"oklch": {
"l": 0.29229,
"c": 0.00945,
"h": 355.5
},
"luminance": 0.02466
}Semantic roles & 50–950 ramp
primary
#302A2C
secondary
#575F5C
accent
#B09D78
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060505
muted
#7A797A