#2A2A30#2A2A30
#2A2A30 is a dark, near-neutral grey. Relative luminance 0.024; OKLCH L 28.7% C 0.011 H 285.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2A30 |
|---|---|
| RGB | rgb(42, 42, 48) |
| HSL | hsl(240, 7%, 18%) |
| HSV | hsv(240, 13%, 19%) |
| CMYK | cmyk(12.5%, 12.5%, 0%, 81.2%) |
| CIE-LAB | lab(17.28, 1.51, -3.88) |
| CIE-LCH | lch(17.28, 4.17, 291.23°) |
| OKLab | oklab(28.74% 0.0029 -0.0104) |
| OKLCH | oklch(28.74% 0.011 285.7) |
| XYZ | xyz(2.3162, 2.3616, 3.1295) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark
#1B2431
ΔE00 5.61
Dark Grey
#363737
ΔE00 5.85
Onyx
#353839
ΔE00 6.05
Gunmetal
#2A3439
ΔE00 6.56
Charcoal (survey)
#343837
ΔE00 7.20
Charcoal Grey
#3C4142
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2A30 #30302A
analogous
#2A2D30 #2A2A30 #2D2A30
triadic
#2A2A30 #302A2A #2A302A
tetradic
#2A2A30 #302A2D #30302A #2A302D
square
#2A2A30 #302A2D #30302A #2A302D
split-complementary
#2A2A30 #302D2A #2D302A
monochromatic
#0E0E10 #0E0E10 #2A2A30 #474751 #636371
Accessibility & contrast
On white
14.26
#2A2A30 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#2A2A30 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2A30
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2A30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2A30 | 1.00 | 14.26 | 1.47 | 14.26 |
| #FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292B30
Deuteranopia (green-blind)
#292A30
Tritanopia (blue-blind)
#292B2C
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #2a2a30; /* rgb */ color: rgb(42, 42, 48); /* oklch */ color: oklch(28.7% 0.011 285.7);
Tailwind
colors: {
custom: {
50: '#636368',
500: '#2a2a30',
950: '#000000',
},
}SCSS
$custom: #2a2a30; $custom-light: #636368; $custom-dark: #000000;
JSON
{
"hex": "#2a2a30",
"rgb": {
"r": 42,
"g": 42,
"b": 48
},
"hsl": {
"h": 240,
"s": 6.667,
"l": 17.647
},
"oklch": {
"l": 0.28745,
"c": 0.01086,
"h": 285.7
},
"luminance": 0.02362
}Semantic roles & 50–950 ramp
primary
#2A2A30
secondary
#5F5F57
accent
#B078B0
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A