#404CA1#404CA1
#404CA1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.137 H 273.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #404CA1 |
|---|---|
| RGB | rgb(64, 76, 161) |
| HSL | hsl(233, 43%, 44%) |
| HSV | hsv(233, 60%, 63%) |
| CMYK | cmyk(60.2%, 52.8%, 0%, 36.9%) |
| CIE-LAB | lab(35.66, 21.96, -47.72) |
| CIE-LCH | lch(35.66, 52.53, 294.71°) |
| OKLab | oklab(45.38% 0.0086 -0.1366) |
| OKLCH | oklch(45.38% 0.137 273.6) |
| XYZ | xyz(11.1297, 8.8312, 34.8294) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.38
Twilight
#4E518B
ΔE00 5.48
Cobalt
#0047AB
ΔE00 5.48
Cobalt (survey)
#1E488F
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 5.82
Sapphire
#0F52BA
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404CA1 #A19540
analogous
#407DA1 #404CA1 #6540A1
triadic
#404CA1 #A1404C #4CA140
tetradic
#404CA1 #A1407D #A19540 #40A165
square
#404CA1 #A1407D #A19540 #40A165
split-complementary
#404CA1 #A16540 #7DA140
monochromatic
#1D2349 #2F3775 #404CA1 #5F6BBF #8B93D1
Accessibility & contrast
On white
7.59
#404CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#404CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404CA1
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404CA1 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #404ca1; /* rgb */ color: rgb(64, 76, 161); /* oklch */ color: oklch(45.4% 0.137 273.6);
Tailwind
colors: {
custom: {
50: '#7e7dbd',
500: '#404ca1',
950: '#000000',
},
}SCSS
$custom: #404ca1; $custom-light: #7e7dbd; $custom-dark: #000000;
JSON
{
"hex": "#404ca1",
"rgb": {
"r": 64,
"g": 76,
"b": 161
},
"hsl": {
"h": 232.577,
"s": 43.111,
"l": 44.118
},
"oklch": {
"l": 0.45376,
"c": 0.13692,
"h": 273.6
},
"luminance": 0.08832
}Semantic roles & 50–950 ramp
primary
#404CA1
secondary
#BCB481
accent
#C355D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81