#404579#404579
#404579 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.087 H 277.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #404579 |
|---|---|
| RGB | rgb(64, 69, 121) |
| HSL | hsl(235, 31%, 36%) |
| HSV | hsv(235, 47%, 47%) |
| CMYK | cmyk(47.1%, 43%, 0%, 52.5%) |
| CIE-LAB | lab(31.18, 12.94, -30.38) |
| CIE-LCH | lch(31.18, 33.02, 293.06°) |
| OKLab | oklab(41.16% 0.0116 -0.0858) |
| OKLCH | oklch(41.16% 0.087 277.7) |
| XYZ | xyz(7.6926, 6.7263, 18.9784) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.57
Dusk
#4E5481
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 5.71
Blueberry
#464196
ΔE00 6.22
Cobalt (survey)
#1E488F
ΔE00 7.71
Darkish Blue
#014182
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404579 #797440
analogous
#406279 #404579 #584079
triadic
#404579 #794045 #457940
tetradic
#404579 #794062 #797440 #407958
square
#404579 #794062 #797440 #407958
split-complementary
#404579 #795840 #627940
monochromatic
#161729 #2B2E51 #404579 #555CA1 #7A80B9
Accessibility & contrast
On white
8.95
#404579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#404579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404579
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404579 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#2D4778
Tritanopia (blue-blind)
#2C5059
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #404579; /* rgb */ color: rgb(64, 69, 121); /* oklch */ color: oklch(41.2% 0.087 277.7);
Tailwind
colors: {
custom: {
50: '#7878a0',
500: '#404579',
950: '#000000',
},
}SCSS
$custom: #404579; $custom-light: #7878a0; $custom-dark: #000000;
JSON
{
"hex": "#404579",
"rgb": {
"r": 64,
"g": 69,
"b": 121
},
"hsl": {
"h": 234.737,
"s": 30.811,
"l": 36.275
},
"oklch": {
"l": 0.41159,
"c": 0.08661,
"h": 277.7
},
"luminance": 0.06727
}Semantic roles & 50–950 ramp
primary
#404579
secondary
#A49F71
accent
#BE61C7
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090E
muted
#7B7B7E