#2A262C#2A262C
#2A262C is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.5% C 0.012 H 314.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A262C |
|---|---|
| RGB | rgb(42, 38, 44) |
| HSL | hsl(280, 7%, 16%) |
| HSV | hsv(280, 14%, 17%) |
| CMYK | cmyk(4.5%, 13.6%, 0%, 82.7%) |
| CIE-LAB | lab(15.80, 3.29, -3.27) |
| CIE-LCH | lch(15.80, 4.64, 315.13°) |
| OKLab | oklab(27.54% 0.0086 -0.0088) |
| OKLCH | oklch(27.54% 0.012 314.6) |
| XYZ | xyz(2.1025, 2.0603, 2.6693) |
| Luminance | 0.0206 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark
#1B2431
ΔE00 7.40
Dark Grey
#363737
ΔE00 7.56
Onyx
#353839
ΔE00 8.16
Charcoal (survey)
#343837
ΔE00 9.24
Gunmetal
#2A3439
ΔE00 9.52
Almost Black
#070D0D
ΔE00 10.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A262C #282C26
analogous
#27262C #2A262C #2C262B
triadic
#2A262C #2C2A26 #262C2A
tetradic
#2A262C #2C2726 #282C26 #262B2C
square
#2A262C #2C2726 #282C26 #262B2C
split-complementary
#2A262C #2B2C26 #262C27
monochromatic
#100E10 #100E10 #2A262C #49424D #695F6E
Accessibility & contrast
On white
14.87
#2A262C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#2A262C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A262C
14.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A262C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A262C | 1.00 | 14.87 | 1.41 | 14.87 |
| #FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272C
Deuteranopia (green-blind)
#26272C
Tritanopia (blue-blind)
#2A2728
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2a262c; /* rgb */ color: rgb(42, 38, 44); /* oklch */ color: oklch(27.5% 0.012 314.6);
Tailwind
colors: {
custom: {
50: '#636065',
500: '#2a262c',
950: '#000000',
},
}SCSS
$custom: #2a262c; $custom-light: #636065; $custom-dark: #000000;
JSON
{
"hex": "#2a262c",
"rgb": {
"r": 42,
"g": 38,
"b": 44
},
"hsl": {
"h": 280,
"s": 7.317,
"l": 16.078
},
"oklch": {
"l": 0.27539,
"c": 0.01229,
"h": 314.6
},
"luminance": 0.0206
}Semantic roles & 50–950 ramp
primary
#2A262C
secondary
#555B52
accent
#B0778A
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050405
muted
#79797A