#3A404E#3A404E
#3A404E is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.2% C 0.025 H 266.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3A404E |
|---|---|
| RGB | rgb(58, 64, 78) |
| HSL | hsl(222, 15%, 27%) |
| HSV | hsv(222, 26%, 31%) |
| CMYK | cmyk(25.6%, 17.9%, 0%, 69.4%) |
| CIE-LAB | lab(27.06, 1.14, -9.28) |
| CIE-LCH | lch(27.06, 9.35, 277.01°) |
| OKLab | oklab(37.16% -0.0014 -0.0254) |
| OKLCH | oklch(37.16% 0.025 266.9) |
| XYZ | xyz(4.9531, 5.1163, 7.9328) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Charcoal
#36454F
ΔE00 5.87
Charcoal Grey
#3C4142
ΔE00 7.57
Dark Grey Blue
#29465B
ΔE00 7.73
Gunmetal
#2A3439
ΔE00 7.78
Onyx
#353839
ΔE00 7.79
Dark Blue Grey
#1F3B4D
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A404E #4E483A
analogous
#3A4A4E #3A404E #3E3A4E
triadic
#3A404E #4E3A40 #404E3A
tetradic
#3A404E #4E3A4A #4E483A #3A4E3E
square
#3A404E #4E3A4A #4E483A #3A4E3E
split-complementary
#3A404E #4E3E3A #4A4E3A
monochromatic
#0D0E12 #20232B #3A404E #545D71 #6F7A94
Accessibility & contrast
On white
10.38
#3A404E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3A404E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A404E
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A404E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A404E | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#3A3F4E
Tritanopia (blue-blind)
#354345
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a404e; /* rgb */ color: rgb(58, 64, 78); /* oklch */ color: oklch(37.2% 0.025 266.9);
Tailwind
colors: {
custom: {
50: '#70747f',
500: '#3a404e',
950: '#000000',
},
}SCSS
$custom: #3a404e; $custom-light: #70747f; $custom-dark: #000000;
JSON
{
"hex": "#3a404e",
"rgb": {
"r": 58,
"g": 64,
"b": 78
},
"hsl": {
"h": 222,
"s": 14.706,
"l": 26.667
},
"oklch": {
"l": 0.3716,
"c": 0.02541,
"h": 266.9
},
"luminance": 0.05116
}Semantic roles & 50–950 ramp
primary
#3A404E
secondary
#7E7766
accent
#A270B7
background
#F6F7F7
surface
#ECEDEE
border
#C7C8C9
text
#07080A
muted
#7A7B7C