#2B262F#2B262F
#2B262F is a dark, near-neutral violet. Relative luminance 0.021; OKLCH L 27.8% C 0.018 H 310.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2B262F |
|---|---|
| RGB | rgb(43, 38, 47) |
| HSL | hsl(273, 11%, 17%) |
| HSV | hsv(273, 19%, 18%) |
| CMYK | cmyk(8.5%, 19.1%, 0%, 81.6%) |
| CIE-LAB | lab(16.03, 4.49, -5.04) |
| CIE-LCH | lch(16.03, 6.75, 311.67°) |
| OKLab | oklab(27.78% 0.0114 -0.0136) |
| OKLCH | oklch(27.78% 0.018 310.1) |
| XYZ | xyz(2.2024, 2.1051, 2.9791) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 7.69
Dark Grey
#363737
ΔE00 8.94
Onyx
#353839
ΔE00 9.50
Charcoal (survey)
#343837
ΔE00 10.69
Gunmetal
#2A3439
ΔE00 10.78
Navy Blue
#1B2A4A
ΔE00 11.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B262F #2A2F26
analogous
#27262F #2B262F #2F262F
triadic
#2B262F #2F2B26 #262F2B
tetradic
#2B262F #2F2726 #2A2F26 #262F2F
square
#2B262F #2F2726 #2A2F26 #262F2F
split-complementary
#2B262F #2F2F26 #262F27
monochromatic
#0F0E11 #0F0E11 #2B262F #4A4151 #695D73
Accessibility & contrast
On white
14.78
#2B262F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#2B262F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B262F
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B262F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B262F | 1.00 | 14.78 | 1.42 | 14.78 |
| #FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25282F
Deuteranopia (green-blind)
#26282F
Tritanopia (blue-blind)
#2B2729
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2b262f; /* rgb */ color: rgb(43, 38, 47); /* oklch */ color: oklch(27.8% 0.018 310.1);
Tailwind
colors: {
custom: {
50: '#646067',
500: '#2b262f',
950: '#000000',
},
}SCSS
$custom: #2b262f; $custom-light: #646067; $custom-dark: #000000;
JSON
{
"hex": "#2b262f",
"rgb": {
"r": 43,
"g": 38,
"b": 47
},
"hsl": {
"h": 273.333,
"s": 10.588,
"l": 16.667
},
"oklch": {
"l": 0.27782,
"c": 0.01775,
"h": 310.1
},
"luminance": 0.02105
}Semantic roles & 50–950 ramp
primary
#2B262F
secondary
#585F52
accent
#B47490
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050406
muted
#79797A