#404FA1#404FA1
#404FA1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.133 H 272.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #404FA1 |
|---|---|
| RGB | rgb(64, 79, 161) |
| HSL | hsl(231, 43%, 44%) |
| HSV | hsv(231, 60%, 63%) |
| CMYK | cmyk(60.2%, 50.9%, 0%, 36.9%) |
| CIE-LAB | lab(36.47, 19.99, -46.41) |
| CIE-LCH | lch(36.47, 50.53, 293.31°) |
| OKLab | oklab(45.99% 0.0055 -0.1328) |
| OKLCH | oklch(45.99% 0.133 272.4) |
| XYZ | xyz(11.3412, 9.2543, 34.8999) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.29
Blueberry
#464196
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.51
Cobalt (survey)
#1E488F
ΔE00 5.65
Denim Blue
#3B5B92
ΔE00 5.69
Sapphire
#0F52BA
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404FA1 #A19240
analogous
#4080A1 #404FA1 #6240A1
triadic
#404FA1 #A1404F #4FA140
tetradic
#404FA1 #A14080 #A19240 #40A162
square
#404FA1 #A14080 #A19240 #40A162
split-complementary
#404FA1 #A16240 #80A140
monochromatic
#1D2449 #2F3A75 #404FA1 #5F6EBF #8B95D1
Accessibility & contrast
On white
7.37
#404FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#404FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404FA1
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404FA1 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235AA4
Deuteranopia (green-blind)
#0F529F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #404fa1; /* rgb */ color: rgb(64, 79, 161); /* oklch */ color: oklch(46.0% 0.133 272.4);
Tailwind
colors: {
custom: {
50: '#7e80bd',
500: '#404fa1',
950: '#000000',
},
}SCSS
$custom: #404fa1; $custom-light: #7e80bd; $custom-dark: #000000;
JSON
{
"hex": "#404fa1",
"rgb": {
"r": 64,
"g": 79,
"b": 161
},
"hsl": {
"h": 230.722,
"s": 43.111,
"l": 44.118
},
"oklch": {
"l": 0.45988,
"c": 0.13288,
"h": 272.4
},
"luminance": 0.09255
}Semantic roles & 50–950 ramp
primary
#404FA1
secondary
#BCB381
accent
#BF55D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81