#404CB1#404CB1
#404CB1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.160 H 273.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #404CB1 |
|---|---|
| RGB | rgb(64, 76, 177) |
| HSL | hsl(234, 47%, 47%) |
| HSV | hsv(234, 64%, 69%) |
| CMYK | cmyk(63.8%, 57.1%, 0%, 30.6%) |
| CIE-LAB | lab(36.80, 27.56, -55.40) |
| CIE-LCH | lch(36.80, 61.88, 296.45°) |
| OKLab | oklab(46.6% 0.0094 -0.1593) |
| OKLCH | oklch(46.6% 0.16 273.4) |
| XYZ | xyz(12.6320, 9.4321, 42.7413) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.51
Blue Blue
#2242C7
ΔE00 4.52
Blueberry
#464196
ΔE00 5.48
Cobalt
#0047AB
ΔE00 5.53
Sapphire
#0F52BA
ΔE00 5.63
Sapphire (survey)
#2138AB
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404CB1 #B1A540
analogous
#4085B1 #404CB1 #6C40B1
triadic
#404CB1 #B1404C #4CB140
tetradic
#404CB1 #B14085 #B1A540 #40B16C
square
#404CB1 #B14085 #B1A540 #40B16C
split-complementary
#404CB1 #B16C40 #85B140
monochromatic
#1F2557 #303984 #404CB1 #6671C8 #939BD8
Accessibility & contrast
On white
7.27
#404CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#404CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404CB1
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404CB1 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #404cb1; /* rgb */ color: rgb(64, 76, 177); /* oklch */ color: oklch(46.6% 0.160 273.4);
Tailwind
colors: {
custom: {
50: '#817ec9',
500: '#404cb1',
950: '#000000',
},
}SCSS
$custom: #404cb1; $custom-light: #817ec9; $custom-dark: #000000;
JSON
{
"hex": "#404cb1",
"rgb": {
"r": 64,
"g": 76,
"b": 177
},
"hsl": {
"h": 233.628,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.46598,
"c": 0.15954,
"h": 273.4
},
"luminance": 0.09433
}Semantic roles & 50–950 ramp
primary
#404CB1
secondary
#C3BD89
accent
#C851D7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0913
muted
#7C7B82