#404B79#404B79
#404B79 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.078 H 272.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #404B79 |
|---|---|
| RGB | rgb(64, 75, 121) |
| HSL | hsl(228, 31%, 36%) |
| HSV | hsv(228, 47%, 47%) |
| CMYK | cmyk(47.1%, 38%, 0%, 52.5%) |
| CIE-LAB | lab(32.92, 8.98, -27.62) |
| CIE-LCH | lch(32.92, 29.04, 288.00°) |
| OKLab | oklab(42.5% 0.0034 -0.0777) |
| OKLCH | oklch(42.5% 0.078 272.5) |
| XYZ | xyz(8.0805, 7.5022, 19.1077) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 3.65
Twilight
#4E518B
ΔE00 4.09
Cobalt (survey)
#1E488F
ΔE00 7.00
Denim Blue
#3B5B92
ΔE00 7.44
Blueberry
#464196
ΔE00 7.45
Darkslateblue
#483D8B
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404B79 #796E40
analogous
#406879 #404B79 #524079
triadic
#404B79 #79404B #4B7940
tetradic
#404B79 #794068 #796E40 #407952
square
#404B79 #794068 #796E40 #407952
split-complementary
#404B79 #795240 #687940
monochromatic
#161929 #2B3251 #404B79 #5564A1 #7A87B9
Accessibility & contrast
On white
8.40
#404B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#404B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404B79
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404B79 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#2C545C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #404b79; /* rgb */ color: rgb(64, 75, 121); /* oklch */ color: oklch(42.5% 0.078 272.5);
Tailwind
colors: {
custom: {
50: '#787da0',
500: '#404b79',
950: '#000000',
},
}SCSS
$custom: #404b79; $custom-light: #787da0; $custom-dark: #000000;
JSON
{
"hex": "#404b79",
"rgb": {
"r": 64,
"g": 75,
"b": 121
},
"hsl": {
"h": 228.421,
"s": 30.811,
"l": 36.275
},
"oklch": {
"l": 0.42501,
"c": 0.07782,
"h": 272.5
},
"luminance": 0.07503
}Semantic roles & 50–950 ramp
primary
#404B79
secondary
#A49A71
accent
#B361C7
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#09090E
muted
#7B7B7E