#404CA2#404CA2
#404CA2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.138 H 273.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #404CA2 |
|---|---|
| RGB | rgb(64, 76, 162) |
| HSL | hsl(233, 43%, 44%) |
| HSV | hsv(233, 60%, 64%) |
| CMYK | cmyk(60.5%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(35.73, 22.31, -48.21) |
| CIE-LCH | lch(35.73, 53.12, 294.83°) |
| OKLab | oklab(45.45% 0.0087 -0.1381) |
| OKLCH | oklch(45.45% 0.138 273.6) |
| XYZ | xyz(11.2182, 8.8666, 35.2957) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.42
Cobalt
#0047AB
ΔE00 5.45
Twilight
#4E518B
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 5.71
Cobalt (survey)
#1E488F
ΔE00 5.88
Sapphire
#0F52BA
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404CA2 #A29640
analogous
#407DA2 #404CA2 #6540A2
triadic
#404CA2 #A2404C #4CA240
tetradic
#404CA2 #A2407D #A29640 #40A265
square
#404CA2 #A2407D #A29640 #40A265
split-complementary
#404CA2 #A26540 #7DA240
monochromatic
#1D234A #2F3776 #404CA2 #5F6BC0 #8B94D1
Accessibility & contrast
On white
7.57
#404CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#404CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404CA2
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404CA2 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #404ca2; /* rgb */ color: rgb(64, 76, 162); /* oklch */ color: oklch(45.4% 0.138 273.6);
Tailwind
colors: {
custom: {
50: '#7e7dbe',
500: '#404ca2',
950: '#000000',
},
}SCSS
$custom: #404ca2; $custom-light: #7e7dbe; $custom-dark: #000000;
JSON
{
"hex": "#404ca2",
"rgb": {
"r": 64,
"g": 76,
"b": 162
},
"hsl": {
"h": 232.653,
"s": 43.363,
"l": 44.314
},
"oklch": {
"l": 0.45449,
"c": 0.13836,
"h": 273.6
},
"luminance": 0.08868
}Semantic roles & 50–950 ramp
primary
#404CA2
secondary
#BCB582
accent
#C455D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81