#2A2C30#2A2C30
#2A2C30 is a dark, near-neutral grey. Relative luminance 0.025; OKLCH L 29.3% C 0.008 H 264.5°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2C30 |
|---|---|
| RGB | rgb(42, 44, 48) |
| HSL | hsl(220, 7%, 18%) |
| HSV | hsv(220, 13%, 19%) |
| CMYK | cmyk(12.5%, 8.3%, 0%, 81.2%) |
| CIE-LAB | lab(17.95, 0.12, -2.89) |
| CIE-LCH | lch(17.95, 2.89, 272.46°) |
| OKLab | oklab(29.27% -0.0007 -0.0078) |
| OKLCH | oklch(29.27% 0.008 264.5) |
| XYZ | xyz(2.3889, 2.5070, 3.1538) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Onyx
#353839
ΔE00 4.40
Dark Grey
#363737
ΔE00 4.41
Gunmetal
#2A3439
ΔE00 4.65
Charcoal (survey)
#343837
ΔE00 5.37
Dark
#1B2431
ΔE00 6.01
Charcoal Grey
#3C4142
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2C30 #302E2A
analogous
#2A2F30 #2A2C30 #2B2A30
triadic
#2A2C30 #302A2C #2C302A
tetradic
#2A2C30 #302A2F #302E2A #2A302B
square
#2A2C30 #302A2F #302E2A #2A302B
split-complementary
#2A2C30 #302B2A #2F302A
monochromatic
#0E0F10 #0E0F10 #2A2C30 #474A51 #636871
Accessibility & contrast
On white
13.99
#2A2C30 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#2A2C30 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2C30
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2C30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2C30 | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2C30
Deuteranopia (green-blind)
#2A2C30
Tritanopia (blue-blind)
#292D2D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #2a2c30; /* rgb */ color: rgb(42, 44, 48); /* oklch */ color: oklch(29.3% 0.008 264.5);
Tailwind
colors: {
custom: {
50: '#636568',
500: '#2a2c30',
950: '#000000',
},
}SCSS
$custom: #2a2c30; $custom-light: #636568; $custom-dark: #000000;
JSON
{
"hex": "#2a2c30",
"rgb": {
"r": 42,
"g": 44,
"b": 48
},
"hsl": {
"h": 220,
"s": 6.667,
"l": 17.647
},
"oklch": {
"l": 0.2927,
"c": 0.0078,
"h": 264.5
},
"luminance": 0.02507
}Semantic roles & 50–950 ramp
primary
#2A2C30
secondary
#5F5C57
accent
#9D78B0
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A