#2B313A#2B313A
#2B313A is a dark, near-neutral blue. Relative luminance 0.030; OKLCH L 31.1% C 0.018 H 258.4°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B313A |
|---|---|
| RGB | rgb(43, 49, 58) |
| HSL | hsl(216, 15%, 20%) |
| HSV | hsv(216, 26%, 23%) |
| CMYK | cmyk(25.9%, 15.5%, 0%, 77.3%) |
| CIE-LAB | lab(20.11, -0.15, -6.55) |
| CIE-LCH | lch(20.11, 6.56, 268.71°) |
| OKLab | oklab(31.12% -0.0037 -0.0179) |
| OKLCH | oklch(31.12% 0.018 258.4) |
| XYZ | xyz(2.8581, 3.0156, 4.4337) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Gunmetal
#2A3439
ΔE00 4.00
Dark
#1B2431
ΔE00 4.80
Onyx
#353839
ΔE00 5.36
Dark Grey
#363737
ΔE00 5.94
Charcoal (survey)
#343837
ΔE00 6.64
Charcoal Grey
#3C4142
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B313A #3A342B
analogous
#2B393A #2B313A #2D2B3A
triadic
#2B313A #3A2B31 #313A2B
tetradic
#2B313A #3A2B39 #3A342B #2B3A2D
square
#2B313A #3A2B39 #3A342B #2B3A2D
split-complementary
#2B313A #3A2D2B #393A2B
monochromatic
#0D0F12 #111317 #2B313A #454F5D #5F6C80
Accessibility & contrast
On white
13.10
#2B313A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2B313A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B313A
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B313A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B313A | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E313A
Deuteranopia (green-blind)
#2C303A
Tritanopia (blue-blind)
#273334
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b313a; /* rgb */ color: rgb(43, 49, 58); /* oklch */ color: oklch(31.1% 0.018 258.4);
Tailwind
colors: {
custom: {
50: '#646970',
500: '#2b313a',
950: '#000000',
},
}SCSS
$custom: #2b313a; $custom-light: #646970; $custom-dark: #000000;
JSON
{
"hex": "#2b313a",
"rgb": {
"r": 43,
"g": 49,
"b": 58
},
"hsl": {
"h": 216,
"s": 14.851,
"l": 19.804
},
"oklch": {
"l": 0.31115,
"c": 0.01824,
"h": 258.4
},
"luminance": 0.03016
}Semantic roles & 50–950 ramp
primary
#2B313A
secondary
#6A6256
accent
#9B70B8
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#050607
muted
#7A7A7A