#2E3442#2E3442
#2E3442 is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.5% C 0.026 H 266.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3442 |
|---|---|
| RGB | rgb(46, 52, 66) |
| HSL | hsl(222, 18%, 22%) |
| HSV | hsv(222, 30%, 26%) |
| CMYK | cmyk(30.3%, 21.2%, 0%, 74.1%) |
| CIE-LAB | lab(21.69, 1.28, -9.57) |
| CIE-LCH | lch(21.69, 9.65, 277.61°) |
| OKLab | oklab(32.53% -0.0015 -0.0262) |
| OKLCH | oklch(32.53% 0.026 266.8) |
| XYZ | xyz(3.3378, 3.4301, 5.6394) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.48
Gunmetal
#2A3439
ΔE00 6.70
Onyx
#353839
ΔE00 7.60
Charcoal
#36454F
ΔE00 7.74
Dark Blue Grey
#1F3B4D
ΔE00 7.79
Dark Grey
#363737
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3442 #423C2E
analogous
#2E3E42 #2E3442 #322E42
triadic
#2E3442 #422E34 #34422E
tetradic
#2E3442 #422E3E #423C2E #2E4232
square
#2E3442 #422E3E #423C2E #2E4232
split-complementary
#2E3442 #42322E #3E422E
monochromatic
#0D0E12 #15181E #2E3442 #475066 #606D8A
Accessibility & contrast
On white
12.46
#2E3442 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2E3442 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3442
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3442 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3442 | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#2E3342
Tritanopia (blue-blind)
#293739
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e3442; /* rgb */ color: rgb(46, 52, 66); /* oklch */ color: oklch(32.5% 0.026 266.8);
Tailwind
colors: {
custom: {
50: '#676b76',
500: '#2e3442',
950: '#000000',
},
}SCSS
$custom: #2e3442; $custom-light: #676b76; $custom-dark: #000000;
JSON
{
"hex": "#2e3442",
"rgb": {
"r": 46,
"g": 52,
"b": 66
},
"hsl": {
"h": 222,
"s": 17.857,
"l": 21.961
},
"oklch": {
"l": 0.32532,
"c": 0.02629,
"h": 266.8
},
"luminance": 0.0343
}Semantic roles & 50–950 ramp
primary
#2E3442
secondary
#736B59
accent
#A36DBB
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B