#2E313A#2E313A
#2E313A is a dark, near-neutral blue. Relative luminance 0.031; OKLCH L 31.4% C 0.017 H 270.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2E313A |
|---|---|
| RGB | rgb(46, 49, 58) |
| HSL | hsl(225, 12%, 20%) |
| HSV | hsv(225, 21%, 23%) |
| CMYK | cmyk(20.7%, 15.5%, 0%, 77.3%) |
| CIE-LAB | lab(20.37, 1.03, -6.13) |
| CIE-LCH | lch(20.37, 6.21, 279.59°) |
| OKLab | oklab(31.39% 0.0002 -0.0166) |
| OKLCH | oklch(31.39% 0.017 270.8) |
| XYZ | xyz(2.9886, 3.0829, 4.4398) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.31
Gunmetal
#2A3439
ΔE00 5.41
Onyx
#353839
ΔE00 5.61
Dark Grey
#363737
ΔE00 5.88
Charcoal (survey)
#343837
ΔE00 7.02
Charcoal Grey
#3C4142
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E313A #3A372E
analogous
#2E373A #2E313A #312E3A
triadic
#2E313A #3A2E31 #313A2E
tetradic
#2E313A #3A2E37 #3A372E #2E3A31
square
#2E313A #3A2E37 #3A372E #2E3A31
split-complementary
#2E313A #3A312E #373A2E
monochromatic
#0E0E11 #131418 #2E313A #494E5C #646B7E
Accessibility & contrast
On white
12.99
#2E313A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2E313A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E313A
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E313A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E313A | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E323A
Deuteranopia (green-blind)
#2E313A
Tritanopia (blue-blind)
#2B3334
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2e313a; /* rgb */ color: rgb(46, 49, 58); /* oklch */ color: oklch(31.4% 0.017 270.8);
Tailwind
colors: {
custom: {
50: '#666970',
500: '#2e313a',
950: '#000000',
},
}SCSS
$custom: #2e313a; $custom-light: #666970; $custom-dark: #000000;
JSON
{
"hex": "#2e313a",
"rgb": {
"r": 46,
"g": 49,
"b": 58
},
"hsl": {
"h": 225,
"s": 11.538,
"l": 20.392
},
"oklch": {
"l": 0.31391,
"c": 0.01663,
"h": 270.8
},
"luminance": 0.03083
}Semantic roles & 50–950 ramp
primary
#2E313A
secondary
#6A665A
accent
#A473B4
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A