#404CA9#404CA9
#404CA9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.148 H 273.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #404CA9 |
|---|---|
| RGB | rgb(64, 76, 169) |
| HSL | hsl(233, 45%, 46%) |
| HSV | hsv(233, 62%, 66%) |
| CMYK | cmyk(62.1%, 55%, 0%, 33.7%) |
| CIE-LAB | lab(36.22, 24.76, -51.59) |
| CIE-LCH | lch(36.22, 57.23, 295.63°) |
| OKLab | oklab(45.98% 0.0092 -0.1481) |
| OKLCH | oklch(45.98% 0.148 273.5) |
| XYZ | xyz(11.8579, 9.1225, 38.6644) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.04
Cobalt
#0047AB
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 5.38
Sapphire
#0F52BA
ΔE00 5.81
Sapphire (survey)
#2138AB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404CA9 #A99D40
analogous
#4080A9 #404CA9 #6840A9
triadic
#404CA9 #A9404C #4CA940
tetradic
#404CA9 #A94080 #A99D40 #40A968
square
#404CA9 #A94080 #A99D40 #40A968
split-complementary
#404CA9 #A96840 #80A940
monochromatic
#1E2450 #2F387D #404CA9 #626EC4 #8F97D5
Accessibility & contrast
On white
7.43
#404CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#404CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404CA9
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404CA9 | 1.00 | 7.43 | 2.82 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#095AAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #404ca9; /* rgb */ color: rgb(64, 76, 169); /* oklch */ color: oklch(46.0% 0.148 273.5);
Tailwind
colors: {
custom: {
50: '#7f7dc3',
500: '#404ca9',
950: '#000000',
},
}SCSS
$custom: #404ca9; $custom-light: #7f7dc3; $custom-dark: #000000;
JSON
{
"hex": "#404ca9",
"rgb": {
"r": 64,
"g": 76,
"b": 169
},
"hsl": {
"h": 233.143,
"s": 45.064,
"l": 45.686
},
"oklch": {
"l": 0.45976,
"c": 0.14834,
"h": 273.5
},
"luminance": 0.09123
}Semantic roles & 50–950 ramp
primary
#404CA9
secondary
#C0B985
accent
#C653D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82