#404CB5#404CB5
#404CB5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.165 H 273.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #404CB5 |
|---|---|
| RGB | rgb(64, 76, 181) |
| HSL | hsl(234, 48%, 48%) |
| HSV | hsv(234, 65%, 71%) |
| CMYK | cmyk(64.6%, 58%, 0%, 29%) |
| CIE-LAB | lab(37.10, 28.96, -57.28) |
| CIE-LCH | lch(37.10, 64.18, 296.82°) |
| OKLab | oklab(46.92% 0.0095 -0.1648) |
| OKLCH | oklch(46.92% 0.165 273.3) |
| XYZ | xyz(13.0365, 9.5939, 44.8719) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 4.35
Sapphire
#0F52BA
ΔE00 5.63
Cobalt
#0047AB
ΔE00 5.71
Blueberry
#464196
ΔE00 5.87
Blue (survey)
#0343DF
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404CB5 #B5A940
analogous
#4086B5 #404CB5 #6E40B5
triadic
#404CB5 #B5404C #4CB540
tetradic
#404CB5 #B54086 #B5A940 #40B56E
square
#404CB5 #B54086 #B5A940 #40B56E
split-complementary
#404CB5 #B56E40 #86B540
monochromatic
#20265B #303988 #404CB5 #6872CA #969DDA
Accessibility & contrast
On white
7.19
#404CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#404CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404CB5
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404CB5 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #404cb5; /* rgb */ color: rgb(64, 76, 181); /* oklch */ color: oklch(46.9% 0.165 273.3);
Tailwind
colors: {
custom: {
50: '#827ecc',
500: '#404cb5',
950: '#000000',
},
}SCSS
$custom: #404cb5; $custom-light: #827ecc; $custom-dark: #000000;
JSON
{
"hex": "#404cb5",
"rgb": {
"r": 64,
"g": 76,
"b": 181
},
"hsl": {
"h": 233.846,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.46917,
"c": 0.16504,
"h": 273.3
},
"luminance": 0.09595
}Semantic roles & 50–950 ramp
primary
#404CB5
secondary
#C5BF8B
accent
#CA50D7
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82