#406EB4#406EB4
#406EB4 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 53.9% C 0.121 H 258.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #406EB4 |
|---|---|
| RGB | rgb(64, 110, 180) |
| HSL | hsl(216, 48%, 48%) |
| HSV | hsv(216, 64%, 71%) |
| CMYK | cmyk(64.4%, 38.9%, 0%, 29.4%) |
| CIE-LAB | lab(46.36, 6.86, -41.82) |
| CIE-LCH | lch(46.36, 42.38, 279.31°) |
| OKLab | oklab(53.95% -0.024 -0.1189) |
| OKLCH | oklch(53.95% 0.121 258.6) |
| XYZ | xyz(15.9256, 15.5356, 45.3306) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.50
Medium Blue
#2C6FBB
ΔE00 2.52
Mid Blue
#276AB3
ΔE00 3.07
Flat Blue
#3C73A8
ΔE00 3.44
Muted Blue
#3B719F
ΔE00 4.28
Windows Blue
#3778BF
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406EB4 #B48640
analogous
#40A8B4 #406EB4 #4C40B4
triadic
#406EB4 #B4406E #6EB440
tetradic
#406EB4 #B440A8 #B48640 #40B44C
square
#406EB4 #B440A8 #B48640 #40B44C
split-complementary
#406EB4 #B44C40 #A8B440
monochromatic
#20375A #305287 #406EB4 #688FC9 #95B0D9
Accessibility & contrast
On white
5.11
#406EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#406EB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406EB4
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406EB4 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#3F69B3
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #406eb4; /* rgb */ color: rgb(64, 110, 180); /* oklch */ color: oklch(53.9% 0.121 258.6);
Tailwind
colors: {
custom: {
50: '#8097cb',
500: '#406eb4',
950: '#000000',
},
}SCSS
$custom: #406eb4; $custom-light: #8097cb; $custom-dark: #000000;
JSON
{
"hex": "#406eb4",
"rgb": {
"r": 64,
"g": 110,
"b": 180
},
"hsl": {
"h": 216.207,
"s": 47.541,
"l": 47.843
},
"oklch": {
"l": 0.53948,
"c": 0.12132,
"h": 258.6
},
"luminance": 0.15537
}Semantic roles & 50–950 ramp
primary
#406EB4
secondary
#C5AE8B
accent
#A251D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82