#404FB1#404FB1
#404FB1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.156 H 272.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #404FB1 |
|---|---|
| RGB | rgb(64, 79, 177) |
| HSL | hsl(232, 47%, 47%) |
| HSV | hsv(232, 64%, 69%) |
| CMYK | cmyk(63.8%, 55.4%, 0%, 30.6%) |
| CIE-LAB | lab(37.58, 25.62, -54.14) |
| CIE-LCH | lch(37.58, 59.90, 295.33°) |
| OKLab | oklab(47.18% 0.0066 -0.1555) |
| OKLCH | oklch(47.18% 0.156 272.4) |
| XYZ | xyz(12.8435, 9.8552, 42.8119) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 5.04
Blue Blue
#2242C7
ΔE00 5.13
Ocean Blue
#4F42B5
ΔE00 5.40
Cobalt
#0047AB
ΔE00 5.52
Blueberry
#464196
ΔE00 6.16
Warm Blue
#4B57DB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404FB1 #B1A240
analogous
#4088B1 #404FB1 #6940B1
triadic
#404FB1 #B1404F #4FB140
tetradic
#404FB1 #B14088 #B1A240 #40B169
square
#404FB1 #B14088 #B1A240 #40B169
split-complementary
#404FB1 #B16940 #88B140
monochromatic
#1F2757 #303B84 #404FB1 #6673C8 #939CD8
Accessibility & contrast
On white
7.07
#404FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#404FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404FB1
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404FB1 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #404fb1; /* rgb */ color: rgb(64, 79, 177); /* oklch */ color: oklch(47.2% 0.156 272.4);
Tailwind
colors: {
custom: {
50: '#8180c9',
500: '#404fb1',
950: '#000000',
},
}SCSS
$custom: #404fb1; $custom-light: #8180c9; $custom-dark: #000000;
JSON
{
"hex": "#404fb1",
"rgb": {
"r": 64,
"g": 79,
"b": 177
},
"hsl": {
"h": 232.035,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.4718,
"c": 0.15565,
"h": 272.4
},
"luminance": 0.09856
}Semantic roles & 50–950 ramp
primary
#404FB1
secondary
#C3BC89
accent
#C551D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82