#404FD5#404FD5
#404FD5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.1% C 0.204 H 271.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #404FD5 |
|---|---|
| RGB | rgb(64, 79, 213) |
| HSL | hsl(234, 64%, 54%) |
| HSV | hsv(234, 70%, 84%) |
| CMYK | cmyk(70%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(40.38, 38.21, -70.55) |
| CIE-LCH | lch(40.38, 80.23, 298.44°) |
| OKLab | oklab(50.14% 0.0064 -0.2037) |
| OKLCH | oklch(50.14% 0.204 271.8) |
| XYZ | xyz(16.9165, 11.4844, 64.2631) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.76
Blue (survey)
#0343DF
ΔE00 4.18
Blue Blue
#2242C7
ΔE00 4.84
Electric Blue
#0652FF
ΔE00 5.08
Iris
#6258C4
ΔE00 5.58
Azul
#1D5DEC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404FD5 #D5C640
analogous
#4099D5 #404FD5 #7C40D5
triadic
#404FD5 #D5404F #4FD540
tetradic
#404FD5 #D54099 #D5C640 #40D57C
square
#404FD5 #D54099 #D5C640 #40D57C
split-complementary
#404FD5 #D57C40 #99D540
monochromatic
#1C267F #2735B1 #404FD5 #727DE0 #A4ABEB
Accessibility & contrast
On white
6.37
#404FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#404FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #404FD5
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404FD5 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0058D2
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #404fd5; /* rgb */ color: rgb(64, 79, 213); /* oklch */ color: oklch(50.1% 0.204 271.8);
Tailwind
colors: {
custom: {
50: '#8880e3',
500: '#404fd5',
950: '#000000',
},
}SCSS
$custom: #404fd5; $custom-light: #8880e3; $custom-dark: #000000;
JSON
{
"hex": "#404fd5",
"rgb": {
"r": 64,
"g": 79,
"b": 213
},
"hsl": {
"h": 233.96,
"s": 63.948,
"l": 54.314
},
"oklch": {
"l": 0.50136,
"c": 0.20382,
"h": 271.8
},
"luminance": 0.11486
}Semantic roles & 50–950 ramp
primary
#404FD5
secondary
#D8D299
accent
#D641E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84