#404682#404682
#404682 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 42.0% C 0.099 H 276.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #404682 |
|---|---|
| RGB | rgb(64, 70, 130) |
| HSL | hsl(235, 34%, 38%) |
| HSV | hsv(235, 51%, 51%) |
| CMYK | cmyk(50.8%, 46.2%, 0%, 49%) |
| CIE-LAB | lab(31.99, 15.26, -34.69) |
| CIE-LCH | lch(31.99, 37.90, 293.74°) |
| OKLab | oklab(41.95% 0.012 -0.0984) |
| OKLCH | oklch(41.95% 0.099 276.9) |
| XYZ | xyz(8.3325, 7.0815, 22.0426) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.93
Blueberry
#464196
ΔE00 4.73
Darkslateblue
#483D8B
ΔE00 4.77
Dusk
#4E5481
ΔE00 5.37
Cobalt (survey)
#1E488F
ΔE00 6.64
Darkish Blue
#014182
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404682 #827C40
analogous
#406782 #404682 #5B4082
triadic
#404682 #824046 #468240
tetradic
#404682 #824067 #827C40 #40825B
square
#404682 #824067 #827C40 #40825B
split-complementary
#404682 #825B40 #678240
monochromatic
#181A30 #2C3059 #404682 #545CAB #7D83BF
Accessibility & contrast
On white
8.69
#404682 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#404682 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404682
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404682 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404682 | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#274981
Tritanopia (blue-blind)
#26535D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #404682; /* rgb */ color: rgb(64, 70, 130); /* oklch */ color: oklch(42.0% 0.099 276.9);
Tailwind
colors: {
custom: {
50: '#7979a7',
500: '#404682',
950: '#000000',
},
}SCSS
$custom: #404682; $custom-light: #7979a7; $custom-dark: #000000;
JSON
{
"hex": "#404682",
"rgb": {
"r": 64,
"g": 70,
"b": 130
},
"hsl": {
"h": 234.545,
"s": 34.021,
"l": 38.039
},
"oklch": {
"l": 0.41954,
"c": 0.09916,
"h": 276.9
},
"luminance": 0.07082
}Semantic roles & 50–950 ramp
primary
#404682
secondary
#AAA574
accent
#C05ECA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F