#404BB1#404BB1
#404BB1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.161 H 273.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #404BB1 |
|---|---|
| RGB | rgb(64, 75, 177) |
| HSL | hsl(234, 47%, 47%) |
| HSV | hsv(234, 64%, 69%) |
| CMYK | cmyk(63.8%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(36.55, 28.20, -55.82) |
| CIE-LCH | lch(36.55, 62.54, 296.81°) |
| OKLab | oklab(46.41% 0.0104 -0.1605) |
| OKLCH | oklch(46.41% 0.161 273.7) |
| XYZ | xyz(12.5636, 9.2954, 42.7186) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.22
Blue Blue
#2242C7
ΔE00 4.34
Blueberry
#464196
ΔE00 5.28
Cobalt
#0047AB
ΔE00 5.57
Sapphire
#0F52BA
ΔE00 5.84
Sapphire (survey)
#2138AB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404BB1 #B1A640
analogous
#4084B1 #404BB1 #6D40B1
triadic
#404BB1 #B1404B #4BB140
tetradic
#404BB1 #B14084 #B1A640 #40B16D
square
#404BB1 #B14084 #B1A640 #40B16D
split-complementary
#404BB1 #B16D40 #84B140
monochromatic
#1F2557 #303884 #404BB1 #6670C8 #939AD8
Accessibility & contrast
On white
7.34
#404BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#404BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404BB1
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404BB1 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #404bb1; /* rgb */ color: rgb(64, 75, 177); /* oklch */ color: oklch(46.4% 0.161 273.7);
Tailwind
colors: {
custom: {
50: '#817dc9',
500: '#404bb1',
950: '#000000',
},
}SCSS
$custom: #404bb1; $custom-light: #817dc9; $custom-dark: #000000;
JSON
{
"hex": "#404bb1",
"rgb": {
"r": 64,
"g": 75,
"b": 177
},
"hsl": {
"h": 234.159,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.46407,
"c": 0.16082,
"h": 273.7
},
"luminance": 0.09296
}Semantic roles & 50–950 ramp
primary
#404BB1
secondary
#C3BE89
accent
#CA51D7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0913
muted
#7C7B82