#2A262B#2A262B
#2A262B is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.5% C 0.011 H 319.5°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A262B |
|---|---|
| RGB | rgb(42, 38, 43) |
| HSL | hsl(288, 6%, 16%) |
| HSV | hsv(288, 12%, 17%) |
| CMYK | cmyk(2.3%, 11.6%, 0%, 83.1%) |
| CIE-LAB | lab(15.76, 3.04, -2.62) |
| CIE-LCH | lch(15.76, 4.01, 319.21°) |
| OKLab | oklab(27.5% 0.0082 -0.007) |
| OKLCH | oklch(27.5% 0.011 319.5) |
| XYZ | xyz(2.0839, 2.0529, 2.5715) |
| Luminance | 0.0205 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 7.21
Dark
#1B2431
ΔE00 7.61
Onyx
#353839
ΔE00 7.86
Charcoal (survey)
#343837
ΔE00 8.89
Gunmetal
#2A3439
ΔE00 9.34
Almost Black
#070D0D
ΔE00 10.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A262B #272B26
analogous
#27262B #2A262B #2B2629
triadic
#2A262B #2B2A26 #262B2A
tetradic
#2A262B #2B2726 #272B26 #26292B
square
#2A262B #2B2726 #272B26 #26292B
split-complementary
#2A262B #292B26 #262B27
monochromatic
#100E10 #100E10 #2A262B #4A434B #695F6C
Accessibility & contrast
On white
14.89
#2A262B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#2A262B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A262B
14.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A262B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A262B | 1.00 | 14.89 | 1.41 | 14.89 |
| #FFFFFF | 14.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26272B
Deuteranopia (green-blind)
#26272B
Tritanopia (blue-blind)
#2A2628
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2a262b; /* rgb */ color: rgb(42, 38, 43); /* oklch */ color: oklch(27.5% 0.011 319.5);
Tailwind
colors: {
custom: {
50: '#636064',
500: '#2a262b',
950: '#000000',
},
}SCSS
$custom: #2a262b; $custom-light: #636064; $custom-dark: #000000;
JSON
{
"hex": "#2a262b",
"rgb": {
"r": 42,
"g": 38,
"b": 43
},
"hsl": {
"h": 288,
"s": 6.173,
"l": 15.882
},
"oklch": {
"l": 0.27496,
"c": 0.01074,
"h": 319.5
},
"luminance": 0.02053
}Semantic roles & 50–950 ramp
primary
#2A262B
secondary
#545A53
accent
#AF7983
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979