#2A2D30#2A2D30
#2A2D30 is a dark, near-neutral grey. Relative luminance 0.026; OKLCH L 29.5% C 0.007 H 248.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2D30 |
|---|---|
| RGB | rgb(42, 45, 48) |
| HSL | hsl(210, 7%, 18%) |
| HSV | hsv(210, 13%, 19%) |
| CMYK | cmyk(12.5%, 6.2%, 0%, 81.2%) |
| CIE-LAB | lab(18.29, -0.56, -2.39) |
| CIE-LCH | lch(18.29, 2.45, 256.75°) |
| OKLab | oklab(29.54% -0.0026 -0.0064) |
| OKLCH | oklch(29.54% 0.007 248.1) |
| XYZ | xyz(2.4266, 2.5824, 3.1663) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Onyx
#353839
ΔE00 3.76
Dark Grey
#363737
ΔE00 3.89
Gunmetal
#2A3439
ΔE00 3.90
Charcoal (survey)
#343837
ΔE00 4.52
Dark
#1B2431
ΔE00 6.59
Charcoal Grey
#3C4142
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2D30 #302D2A
analogous
#2A3030 #2A2D30 #2A2A30
triadic
#2A2D30 #302A2D #2D302A
tetradic
#2A2D30 #302A30 #302D2A #2A302A
square
#2A2D30 #302A30 #302D2A #2A302A
split-complementary
#2A2D30 #302A2A #30302A
monochromatic
#0E0F10 #0E0F10 #2A2D30 #474C51 #636A71
Accessibility & contrast
On white
13.85
#2A2D30 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#2A2D30 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2D30
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2D30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2D30 | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2D30
Deuteranopia (green-blind)
#2B2C30
Tritanopia (blue-blind)
#292E2E
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2a2d30; /* rgb */ color: rgb(42, 45, 48); /* oklch */ color: oklch(29.5% 0.007 248.1);
Tailwind
colors: {
custom: {
50: '#636568',
500: '#2a2d30',
950: '#000000',
},
}SCSS
$custom: #2a2d30; $custom-light: #636568; $custom-dark: #000000;
JSON
{
"hex": "#2a2d30",
"rgb": {
"r": 42,
"g": 45,
"b": 48
},
"hsl": {
"h": 210,
"s": 6.667,
"l": 17.647
},
"oklch": {
"l": 0.29535,
"c": 0.00691,
"h": 248.1
},
"luminance": 0.02582
}Semantic roles & 50–950 ramp
primary
#2A2D30
secondary
#5F5B57
accent
#9478B0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A