#404FB6#404FB6
#404FB6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.163 H 272.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #404FB6 |
|---|---|
| RGB | rgb(64, 79, 182) |
| HSL | hsl(232, 48%, 48%) |
| HSV | hsv(232, 65%, 71%) |
| CMYK | cmyk(64.8%, 56.6%, 0%, 28.6%) |
| CIE-LAB | lab(37.95, 27.38, -56.50) |
| CIE-LCH | lch(37.95, 62.78, 295.86°) |
| OKLab | oklab(47.57% 0.0068 -0.1624) |
| OKLCH | oklch(47.57% 0.163 272.4) |
| XYZ | xyz(13.3510, 10.0582, 45.4847) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.74
Sapphire
#0F52BA
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 5.21
Cobalt
#0047AB
ΔE00 5.74
Warm Blue
#4B57DB
ΔE00 5.85
Iris
#6258C4
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404FB6 #B6A740
analogous
#408AB6 #404FB6 #6C40B6
triadic
#404FB6 #B6404F #4FB640
tetradic
#404FB6 #B6408A #B6A740 #40B66C
square
#404FB6 #B6408A #B6A740 #40B66C
split-complementary
#404FB6 #B66C40 #8AB640
monochromatic
#20285B #303B89 #404FB6 #6975CA #969FDA
Accessibility & contrast
On white
6.97
#404FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#404FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #404FB6
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404FB6 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #404fb6; /* rgb */ color: rgb(64, 79, 182); /* oklch */ color: oklch(47.6% 0.163 272.4);
Tailwind
colors: {
custom: {
50: '#8280cd',
500: '#404fb6',
950: '#000000',
},
}SCSS
$custom: #404fb6; $custom-light: #8280cd; $custom-dark: #000000;
JSON
{
"hex": "#404fb6",
"rgb": {
"r": 64,
"g": 79,
"b": 182
},
"hsl": {
"h": 232.373,
"s": 47.967,
"l": 48.235
},
"oklch": {
"l": 0.47569,
"c": 0.16259,
"h": 272.4
},
"luminance": 0.10059
}Semantic roles & 50–950 ramp
primary
#404FB6
secondary
#C6BE8C
accent
#C650D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82