#2A313B#2A313B
#2A313B is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.1% C 0.020 H 257.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A313B |
|---|---|
| RGB | rgb(42, 49, 59) |
| HSL | hsl(215, 17%, 20%) |
| HSV | hsv(215, 29%, 23%) |
| CMYK | cmyk(28.8%, 16.9%, 0%, 76.9%) |
| CIE-LAB | lab(20.06, -0.24, -7.31) |
| CIE-LCH | lch(20.06, 7.32, 268.11°) |
| OKLab | oklab(31.07% -0.0045 -0.02) |
| OKLCH | oklch(31.07% 0.02 257.3) |
| XYZ | xyz(2.8424, 3.0045, 4.5670) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Gunmetal
#2A3439
ΔE00 4.19
Dark
#1B2431
ΔE00 4.52
Onyx
#353839
ΔE00 5.86
Dark Grey
#363737
ΔE00 6.48
Dark Blue Grey
#1F3B4D
ΔE00 7.03
Charcoal (survey)
#343837
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A313B #3B342A
analogous
#2A3A3B #2A313B #2C2A3B
triadic
#2A313B #3B2A31 #313B2A
tetradic
#2A313B #3B2A3A #3B342A #2A3B2C
square
#2A313B #3B2A3A #3B342A #2A3B2C
split-complementary
#2A313B #3B2C2A #3A3B2A
monochromatic
#0D0F12 #111317 #2A313B #434F5F #5D6C83
Accessibility & contrast
On white
13.12
#2A313B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2A313B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A313B
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A313B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A313B | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E313B
Deuteranopia (green-blind)
#2C303B
Tritanopia (blue-blind)
#253334
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2a313b; /* rgb */ color: rgb(42, 49, 59); /* oklch */ color: oklch(31.1% 0.020 257.3);
Tailwind
colors: {
custom: {
50: '#646970',
500: '#2a313b',
950: '#000000',
},
}SCSS
$custom: #2a313b; $custom-light: #646970; $custom-dark: #000000;
JSON
{
"hex": "#2a313b",
"rgb": {
"r": 42,
"g": 49,
"b": 59
},
"hsl": {
"h": 215.294,
"s": 16.832,
"l": 19.804
},
"oklch": {
"l": 0.31072,
"c": 0.02048,
"h": 257.3
},
"luminance": 0.03005
}Semantic roles & 50–950 ramp
primary
#2A313B
secondary
#6C6255
accent
#9B6EBA
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050607
muted
#797A7A