#404FAB#404FAB
#404FAB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.147 H 272.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #404FAB |
|---|---|
| RGB | rgb(64, 79, 171) |
| HSL | hsl(232, 46%, 46%) |
| HSV | hsv(232, 63%, 67%) |
| CMYK | cmyk(62.6%, 53.8%, 0%, 32.9%) |
| CIE-LAB | lab(37.15, 23.51, -51.27) |
| CIE-LCH | lch(37.15, 56.41, 294.63°) |
| OKLab | oklab(46.72% 0.0063 -0.1471) |
| OKLCH | oklch(46.72% 0.147 272.4) |
| XYZ | xyz(12.2586, 9.6212, 39.7313) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.72
Blueberry
#464196
ΔE00 5.75
Ocean Blue
#4F42B5
ΔE00 5.77
Denim Blue
#3B5B92
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404FAB #AB9C40
analogous
#4084AB #404FAB #6640AB
triadic
#404FAB #AB404F #4FAB40
tetradic
#404FAB #AB4084 #AB9C40 #40AB66
square
#404FAB #AB4084 #AB9C40 #40AB66
split-complementary
#404FAB #AB6640 #84AB40
monochromatic
#1F2652 #2F3A7E #404FAB #6371C5 #909AD5
Accessibility & contrast
On white
7.18
#404FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#404FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404FAB
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404FAB | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135CAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #404fab; /* rgb */ color: rgb(64, 79, 171); /* oklch */ color: oklch(46.7% 0.147 272.4);
Tailwind
colors: {
custom: {
50: '#8080c5',
500: '#404fab',
950: '#000000',
},
}SCSS
$custom: #404fab; $custom-light: #8080c5; $custom-dark: #000000;
JSON
{
"hex": "#404fab",
"rgb": {
"r": 64,
"g": 79,
"b": 171
},
"hsl": {
"h": 231.589,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.46723,
"c": 0.14721,
"h": 272.4
},
"luminance": 0.09622
}Semantic roles & 50–950 ramp
primary
#404FAB
secondary
#C1B886
accent
#C353D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82