#302A2F#302A2F
#302A2F is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.012 H 331.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #302A2F |
|---|---|
| RGB | rgb(48, 42, 47) |
| HSL | hsl(310, 7%, 18%) |
| HSV | hsv(310, 13%, 19%) |
| CMYK | cmyk(0%, 12.5%, 2.1%, 81.2%) |
| CIE-LAB | lab(17.87, 3.88, -2.24) |
| CIE-LCH | lch(17.87, 4.48, 330.01°) |
| OKLab | oklab(29.35% 0.0109 -0.0059) |
| OKLCH | oklch(29.35% 0.012 331.4) |
| XYZ | xyz(2.5599, 2.4896, 3.0345) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 7.05
Onyx
#353839
ΔE00 7.89
Dark
#1B2431
ΔE00 8.95
Charcoal (survey)
#343837
ΔE00 9.04
Gunmetal
#2A3439
ΔE00 10.17
Charcoal Grey
#3C4142
ΔE00 10.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#302A2F #2A302B
analogous
#2E2A30 #302A2F #302A2C
triadic
#302A2F #2F302A #2A2F30
tetradic
#302A2F #302E2A #2A302B #2A2C30
square
#302A2F #302E2A #2A302B #2A2C30
split-complementary
#302A2F #2C302A #2A302E
monochromatic
#100E10 #100E10 #302A2F #51474F #71636F
Accessibility & contrast
On white
14.02
#302A2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#302A2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #302A2F
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##302A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##302A2F | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2B2F
Deuteranopia (green-blind)
#2B2C2F
Tritanopia (blue-blind)
#312A2C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #302a2f; /* rgb */ color: rgb(48, 42, 47); /* oklch */ color: oklch(29.3% 0.012 331.4);
Tailwind
colors: {
custom: {
50: '#686367',
500: '#302a2f',
950: '#000000',
},
}SCSS
$custom: #302a2f; $custom-light: #686367; $custom-dark: #000000;
JSON
{
"hex": "#302a2f",
"rgb": {
"r": 48,
"g": 42,
"b": 47
},
"hsl": {
"h": 310,
"s": 6.667,
"l": 17.647
},
"oklch": {
"l": 0.29347,
"c": 0.01237,
"h": 331.4
},
"luminance": 0.0249
}Semantic roles & 50–950 ramp
primary
#302A2F
secondary
#575F58
accent
#B08178
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A