#2B262A#2B262A
#2B262A is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.6% C 0.010 H 332.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2B262A |
|---|---|
| RGB | rgb(43, 38, 42) |
| HSL | hsl(312, 6%, 16%) |
| HSV | hsv(312, 12%, 17%) |
| CMYK | cmyk(0%, 11.6%, 2.3%, 83.1%) |
| CIE-LAB | lab(15.84, 3.24, -1.79) |
| CIE-LCH | lch(15.84, 3.70, 331.10°) |
| OKLab | oklab(27.57% 0.0091 -0.0047) |
| OKLCH | oklch(27.57% 0.01 332.6) |
| XYZ | xyz(2.1072, 2.0670, 2.4780) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 7.20
Onyx
#353839
ΔE00 7.98
Dark
#1B2431
ΔE00 8.39
Charcoal (survey)
#343837
ΔE00 8.97
Gunmetal
#2A3439
ΔE00 9.84
Almost Black
#070D0D
ΔE00 10.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B262A #262B27
analogous
#29262B #2B262A #2B2627
triadic
#2B262A #2A2B26 #262A2B
tetradic
#2B262A #2B2926 #262B27 #26272B
square
#2B262A #2B2926 #262B27 #26272B
split-complementary
#2B262A #272B26 #262B29
monochromatic
#100E10 #100E10 #2B262A #4B434A #6C5F69
Accessibility & contrast
On white
14.86
#2B262A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#2B262A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B262A
14.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B262A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B262A | 1.00 | 14.86 | 1.41 | 14.86 |
| #FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#27282A
Tritanopia (blue-blind)
#2C2627
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2b262a; /* rgb */ color: rgb(43, 38, 42); /* oklch */ color: oklch(27.6% 0.010 332.6);
Tailwind
colors: {
custom: {
50: '#646063',
500: '#2b262a',
950: '#000000',
},
}SCSS
$custom: #2b262a; $custom-light: #646063; $custom-dark: #000000;
JSON
{
"hex": "#2b262a",
"rgb": {
"r": 43,
"g": 38,
"b": 42
},
"hsl": {
"h": 312,
"s": 6.173,
"l": 15.882
},
"oklch": {
"l": 0.27567,
"c": 0.01026,
"h": 332.6
},
"luminance": 0.02067
}Semantic roles & 50–950 ramp
primary
#2B262A
secondary
#535A54
accent
#AF8379
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979