#2B262E#2B262E
#2B262E is a dark, near-neutral violet. Relative luminance 0.021; OKLCH L 27.7% C 0.016 H 312.9°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2B262E |
|---|---|
| RGB | rgb(43, 38, 46) |
| HSL | hsl(278, 10%, 16%) |
| HSV | hsv(278, 17%, 18%) |
| CMYK | cmyk(6.5%, 17.4%, 0%, 82%) |
| CIE-LAB | lab(15.99, 4.23, -4.40) |
| CIE-LCH | lch(15.99, 6.10, 313.91°) |
| OKLab | oklab(27.74% 0.011 -0.0118) |
| OKLCH | oklch(27.74% 0.016 312.9) |
| XYZ | xyz(2.1824, 2.0971, 2.8740) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 7.74
Dark Grey
#363737
ΔE00 8.56
Onyx
#353839
ΔE00 9.15
Charcoal (survey)
#343837
ΔE00 10.32
Gunmetal
#2A3439
ΔE00 10.53
Almost Black
#070D0D
ΔE00 11.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B262E #292E26
analogous
#27262E #2B262E #2E262D
triadic
#2B262E #2E2B26 #262E2B
tetradic
#2B262E #2E2726 #292E26 #262D2E
square
#2B262E #2E2726 #292E26 #262D2E
split-complementary
#2B262E #2D2E26 #262E27
monochromatic
#100E11 #100E11 #2B262E #4A4250 #6A5D71
Accessibility & contrast
On white
14.79
#2B262E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#2B262E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B262E
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B262E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B262E | 1.00 | 14.79 | 1.42 | 14.79 |
| #FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272E
Deuteranopia (green-blind)
#26282E
Tritanopia (blue-blind)
#2B2729
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2b262e; /* rgb */ color: rgb(43, 38, 46); /* oklch */ color: oklch(27.7% 0.016 312.9);
Tailwind
colors: {
custom: {
50: '#646066',
500: '#2b262e',
950: '#000000',
},
}SCSS
$custom: #2b262e; $custom-light: #646066; $custom-dark: #000000;
JSON
{
"hex": "#2b262e",
"rgb": {
"r": 43,
"g": 38,
"b": 46
},
"hsl": {
"h": 277.5,
"s": 9.524,
"l": 16.471
},
"oklch": {
"l": 0.27737,
"c": 0.01613,
"h": 312.9
},
"luminance": 0.02097
}Semantic roles & 50–950 ramp
primary
#2B262E
secondary
#565E52
accent
#B3758C
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A