#2B282F#2B282F
#2B282F is a dark, near-neutral violet. Relative luminance 0.022; OKLCH L 28.3% C 0.013 H 304.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2B282F |
|---|---|
| RGB | rgb(43, 40, 47) |
| HSL | hsl(266, 8%, 17%) |
| HSV | hsv(266, 15%, 18%) |
| CMYK | cmyk(8.5%, 14.9%, 0%, 81.6%) |
| CIE-LAB | lab(16.68, 3.08, -4.07) |
| CIE-LCH | lch(16.68, 5.10, 307.15°) |
| OKLab | oklab(28.29% 0.0076 -0.0109) |
| OKLCH | oklch(28.29% 0.013 304.9) |
| XYZ | xyz(2.2681, 2.2364, 3.0010) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | neutral |
| Family | violet |
Closest named colors
Dark
#1B2431
ΔE00 6.80
Dark Grey
#363737
ΔE00 7.28
Onyx
#353839
ΔE00 7.75
Gunmetal
#2A3439
ΔE00 8.89
Charcoal (survey)
#343837
ΔE00 8.92
Charcoal Grey
#3C4142
ΔE00 10.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B282F #2C2F28
analogous
#28292F #2B282F #2F282F
triadic
#2B282F #2F2B28 #282F2B
tetradic
#2B282F #2F2829 #2C2F28 #282F2F
square
#2B282F #2F2829 #2C2F28 #282F2F
split-complementary
#2B282F #2F2F28 #292F28
monochromatic
#0F0E11 #0F0E11 #2B282F #494450 #676071
Accessibility & contrast
On white
14.51
#2B282F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#2B282F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B282F
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B282F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B282F | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#2A292A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2b282f; /* rgb */ color: rgb(43, 40, 47); /* oklch */ color: oklch(28.3% 0.013 304.9);
Tailwind
colors: {
custom: {
50: '#646167',
500: '#2b282f',
950: '#000000',
},
}SCSS
$custom: #2b282f; $custom-light: #646167; $custom-dark: #000000;
JSON
{
"hex": "#2b282f",
"rgb": {
"r": 43,
"g": 40,
"b": 47
},
"hsl": {
"h": 265.714,
"s": 8.046,
"l": 17.059
},
"oklch": {
"l": 0.2829,
"c": 0.01332,
"h": 304.9
},
"luminance": 0.02236
}Semantic roles & 50–950 ramp
primary
#2B282F
secondary
#5A5E54
accent
#B17798
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050506
muted
#79797A