#404AA9#404AA9
#404AA9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.151 H 274.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #404AA9 |
|---|---|
| RGB | rgb(64, 74, 169) |
| HSL | hsl(234, 45%, 46%) |
| HSV | hsv(234, 62%, 66%) |
| CMYK | cmyk(62.1%, 56.2%, 0%, 33.7%) |
| CIE-LAB | lab(35.70, 26.05, -52.44) |
| CIE-LCH | lch(35.70, 58.56, 296.42°) |
| OKLab | oklab(45.59% 0.0111 -0.1506) |
| OKLCH | oklch(45.59% 0.151 274.2) |
| XYZ | xyz(11.7222, 8.8512, 38.6191) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.32
Ocean Blue
#4F42B5
ΔE00 4.51
Blue Blue
#2242C7
ΔE00 5.08
Cobalt
#0047AB
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.75
Sapphire
#0F52BA
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404AA9 #A99F40
analogous
#407EA9 #404AA9 #6A40A9
triadic
#404AA9 #A9404A #4AA940
tetradic
#404AA9 #A9407E #A99F40 #40A96A
square
#404AA9 #A9407E #A99F40 #40A96A
split-complementary
#404AA9 #A96A40 #7EA940
monochromatic
#1E2350 #2F377D #404AA9 #626CC4 #8F95D5
Accessibility & contrast
On white
7.58
#404AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#404AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404AA9
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404AA9 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #404aa9; /* rgb */ color: rgb(64, 74, 169); /* oklch */ color: oklch(45.6% 0.151 274.2);
Tailwind
colors: {
custom: {
50: '#807cc3',
500: '#404aa9',
950: '#000000',
},
}SCSS
$custom: #404aa9; $custom-light: #807cc3; $custom-dark: #000000;
JSON
{
"hex": "#404aa9",
"rgb": {
"r": 64,
"g": 74,
"b": 169
},
"hsl": {
"h": 234.286,
"s": 45.064,
"l": 45.686
},
"oklch": {
"l": 0.45585,
"c": 0.15098,
"h": 274.2
},
"luminance": 0.08852
}Semantic roles & 50–950 ramp
primary
#404AA9
secondary
#C0BA85
accent
#C853D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82