#404FA2#404FA2
#404FA2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.134 H 272.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #404FA2 |
|---|---|
| RGB | rgb(64, 79, 162) |
| HSL | hsl(231, 43%, 44%) |
| HSV | hsv(231, 60%, 64%) |
| CMYK | cmyk(60.5%, 51.2%, 0%, 36.5%) |
| CIE-LAB | lab(36.54, 20.35, -46.90) |
| CIE-LCH | lch(36.54, 51.12, 293.45°) |
| OKLab | oklab(46.06% 0.0056 -0.1342) |
| OKLCH | oklch(46.06% 0.134 272.4) |
| XYZ | xyz(11.4298, 9.2897, 35.3662) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 5.37
Twilight
#4E518B
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.48
Sapphire
#0F52BA
ΔE00 5.65
Cobalt (survey)
#1E488F
ΔE00 5.72
Denim Blue
#3B5B92
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404FA2 #A29340
analogous
#4080A2 #404FA2 #6240A2
triadic
#404FA2 #A2404F #4FA240
tetradic
#404FA2 #A24080 #A29340 #40A262
square
#404FA2 #A24080 #A29340 #40A262
split-complementary
#404FA2 #A26240 #80A240
monochromatic
#1D244A #2F3A76 #404FA2 #5F6EC0 #8B96D1
Accessibility & contrast
On white
7.35
#404FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#404FA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404FA2
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404FA2 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#0C52A0
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #404fa2; /* rgb */ color: rgb(64, 79, 162); /* oklch */ color: oklch(46.1% 0.134 272.4);
Tailwind
colors: {
custom: {
50: '#7e80be',
500: '#404fa2',
950: '#000000',
},
}SCSS
$custom: #404fa2; $custom-light: #7e80be; $custom-dark: #000000;
JSON
{
"hex": "#404fa2",
"rgb": {
"r": 64,
"g": 79,
"b": 162
},
"hsl": {
"h": 230.816,
"s": 43.363,
"l": 44.314
},
"oklch": {
"l": 0.4606,
"c": 0.13433,
"h": 272.4
},
"luminance": 0.09291
}Semantic roles & 50–950 ramp
primary
#404FA2
secondary
#BCB382
accent
#C055D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81