#2B262B#2B262B
#2B262B is a dark, near-neutral grey. Relative luminance 0.021; OKLCH L 27.6% C 0.012 H 325.9°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2B262B |
|---|---|
| RGB | rgb(43, 38, 43) |
| HSL | hsl(300, 6%, 16%) |
| HSV | hsv(300, 12%, 17%) |
| CMYK | cmyk(0%, 11.6%, 0%, 83.1%) |
| CIE-LAB | lab(15.87, 3.48, -2.44) |
| CIE-LCH | lch(15.87, 4.26, 324.96°) |
| OKLab | oklab(27.61% 0.0096 -0.0065) |
| OKLCH | oklch(27.61% 0.012 325.9) |
| XYZ | xyz(2.1254, 2.0743, 2.5734) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 7.50
Dark
#1B2431
ΔE00 8.16
Onyx
#353839
ΔE00 8.23
Charcoal (survey)
#343837
ΔE00 9.28
Gunmetal
#2A3439
ΔE00 9.96
Almost Black
#070D0D
ΔE00 10.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B262B #262B26
analogous
#28262B #2B262B #2B2628
triadic
#2B262B #2B2B26 #262B2B
tetradic
#2B262B #2B2826 #262B26 #26282B
square
#2B262B #2B2826 #262B26 #26282B
split-complementary
#2B262B #282B26 #262B28
monochromatic
#100E10 #100E10 #2B262B #4B434B #6C5F6C
Accessibility & contrast
On white
14.84
#2B262B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#2B262B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B262B
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B262B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B262B | 1.00 | 14.84 | 1.41 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26272B
Deuteranopia (green-blind)
#27282B
Tritanopia (blue-blind)
#2B2628
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #2b262b; /* rgb */ color: rgb(43, 38, 43); /* oklch */ color: oklch(27.6% 0.012 325.9);
Tailwind
colors: {
custom: {
50: '#646064',
500: '#2b262b',
950: '#000000',
},
}SCSS
$custom: #2b262b; $custom-light: #646064; $custom-dark: #000000;
JSON
{
"hex": "#2b262b",
"rgb": {
"r": 43,
"g": 38,
"b": 43
},
"hsl": {
"h": 300,
"s": 6.173,
"l": 15.882
},
"oklch": {
"l": 0.27608,
"c": 0.01158,
"h": 325.9
},
"luminance": 0.02074
}Semantic roles & 50–950 ramp
primary
#2B262B
secondary
#535A53
accent
#AF7979
background
#F5F5F5
surface
#EAE9EA
border
#C6C5C6
text
#050405
muted
#797979