#42404F#42404F
#42404F is a dark, muted blue. Relative luminance 0.054; OKLCH L 37.9% C 0.025 H 291.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #42404F |
|---|---|
| RGB | rgb(66, 64, 79) |
| HSL | hsl(248, 10%, 28%) |
| HSV | hsv(248, 19%, 31%) |
| CMYK | cmyk(16.5%, 19%, 0%, 69%) |
| CIE-LAB | lab(27.82, 4.42, -8.73) |
| CIE-LCH | lch(27.82, 9.79, 296.88°) |
| OKLab | oklab(37.94% 0.0092 -0.0237) |
| OKLCH | oklch(37.94% 0.025 291.2) |
| XYZ | xyz(5.4911, 5.3895, 8.1466) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | neutral |
| Family | blue |
Closest named colors
Dark Grey
#363737
ΔE00 9.77
Onyx
#353839
ΔE00 9.80
Charcoal Grey
#3C4142
ΔE00 9.96
Charcoal
#36454F
ΔE00 10.34
Charcoal (survey)
#343837
ΔE00 11.23
Gunmetal
#2A3439
ΔE00 11.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42404F #4D4F40
analogous
#40454F #42404F #49404F
triadic
#42404F #4F4240 #404F42
tetradic
#42404F #4F4045 #4D4F40 #404F49
square
#42404F #4F4045 #4D4F40 #404F49
split-complementary
#42404F #4F4940 #454F40
monochromatic
#0E0E11 #26252D #42404F #5E5B71 #7B7892
Accessibility & contrast
On white
10.11
#42404F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#42404F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42404F
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42404F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42404F | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4250
Deuteranopia (green-blind)
#3D414F
Tritanopia (blue-blind)
#404245
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #42404f; /* rgb */ color: rgb(66, 64, 79); /* oklch */ color: oklch(37.9% 0.025 291.2);
Tailwind
colors: {
custom: {
50: '#767480',
500: '#42404f',
950: '#000000',
},
}SCSS
$custom: #42404f; $custom-light: #767480; $custom-dark: #000000;
JSON
{
"hex": "#42404f",
"rgb": {
"r": 66,
"g": 64,
"b": 79
},
"hsl": {
"h": 248,
"s": 10.49,
"l": 28.039
},
"oklch": {
"l": 0.37939,
"c": 0.02544,
"h": 291.2
},
"luminance": 0.0539
}Semantic roles & 50–950 ramp
primary
#42404F
secondary
#7C7E6D
accent
#B374AB
background
#F7F7F7
surface
#EDEDEE
border
#C8C8C9
text
#08080A
muted
#7B7B7C