#404AA1#404AA1
#404AA1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.140 H 274.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #404AA1 |
|---|---|
| RGB | rgb(64, 74, 161) |
| HSL | hsl(234, 43%, 44%) |
| HSV | hsv(234, 60%, 63%) |
| CMYK | cmyk(60.2%, 54%, 0%, 36.9%) |
| CIE-LAB | lab(35.12, 23.26, -48.58) |
| CIE-LCH | lch(35.12, 53.86, 295.59°) |
| OKLab | oklab(44.97% 0.0107 -0.1392) |
| OKLCH | oklch(44.97% 0.14 274.4) |
| XYZ | xyz(10.9941, 8.5599, 34.7842) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.78
Ocean Blue
#4F42B5
ΔE00 5.32
Cobalt
#0047AB
ΔE00 5.56
Twilight
#4E518B
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 5.96
Cobalt (survey)
#1E488F
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404AA1 #A19740
analogous
#407BA1 #404AA1 #6740A1
triadic
#404AA1 #A1404A #4AA140
tetradic
#404AA1 #A1407B #A19740 #40A167
square
#404AA1 #A1407B #A19740 #40A167
split-complementary
#404AA1 #A16740 #7BA140
monochromatic
#1D2249 #2F3675 #404AA1 #5F69BF #8B92D1
Accessibility & contrast
On white
7.74
#404AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#404AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404AA1
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404AA1 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #404aa1; /* rgb */ color: rgb(64, 74, 161); /* oklch */ color: oklch(45.0% 0.140 274.4);
Tailwind
colors: {
custom: {
50: '#7e7cbd',
500: '#404aa1',
950: '#000000',
},
}SCSS
$custom: #404aa1; $custom-light: #7e7cbd; $custom-dark: #000000;
JSON
{
"hex": "#404aa1",
"rgb": {
"r": 64,
"g": 74,
"b": 161
},
"hsl": {
"h": 233.814,
"s": 43.111,
"l": 44.118
},
"oklch": {
"l": 0.44974,
"c": 0.13962,
"h": 274.4
},
"luminance": 0.08561
}Semantic roles & 50–950 ramp
primary
#404AA1
secondary
#BCB681
accent
#C655D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81