#404BB5#404BB5
#404BB5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.166 H 273.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #404BB5 |
|---|---|
| RGB | rgb(64, 75, 181) |
| HSL | hsl(234, 48%, 48%) |
| HSV | hsv(234, 65%, 71%) |
| CMYK | cmyk(64.6%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(36.85, 29.60, -57.69) |
| CIE-LCH | lch(36.85, 64.84, 297.17°) |
| OKLab | oklab(46.73% 0.0104 -0.166) |
| OKLCH | oklch(46.73% 0.166 273.6) |
| XYZ | xyz(12.9682, 9.4572, 44.8491) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.98
Ocean Blue
#4F42B5
ΔE00 4.06
Blueberry
#464196
ΔE00 5.70
Cobalt
#0047AB
ΔE00 5.75
Sapphire
#0F52BA
ΔE00 5.84
Blue (survey)
#0343DF
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404BB5 #B5AA40
analogous
#4085B5 #404BB5 #6F40B5
triadic
#404BB5 #B5404B #4BB540
tetradic
#404BB5 #B54085 #B5AA40 #40B56F
square
#404BB5 #B54085 #B5AA40 #40B56F
split-complementary
#404BB5 #B56F40 #85B540
monochromatic
#20265B #303888 #404BB5 #6872CA #969CDA
Accessibility & contrast
On white
7.26
#404BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#404BB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404BB5
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404BB5 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #404bb5; /* rgb */ color: rgb(64, 75, 181); /* oklch */ color: oklch(46.7% 0.166 273.6);
Tailwind
colors: {
custom: {
50: '#827dcc',
500: '#404bb5',
950: '#000000',
},
}SCSS
$custom: #404bb5; $custom-light: #827dcc; $custom-dark: #000000;
JSON
{
"hex": "#404bb5",
"rgb": {
"r": 64,
"g": 75,
"b": 181
},
"hsl": {
"h": 234.359,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.46728,
"c": 0.16632,
"h": 273.6
},
"luminance": 0.09458
}Semantic roles & 50–950 ramp
primary
#404BB5
secondary
#C5C08B
accent
#CB50D7
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82