#406FB4#406FB4
#406FB4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.2% C 0.120 H 258.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #406FB4 |
|---|---|
| RGB | rgb(64, 111, 180) |
| HSL | hsl(216, 48%, 48%) |
| HSV | hsv(216, 64%, 71%) |
| CMYK | cmyk(64.4%, 38.3%, 0%, 29.4%) |
| CIE-LAB | lab(46.65, 6.24, -41.36) |
| CIE-LCH | lch(46.65, 41.83, 278.58°) |
| OKLab | oklab(54.17% -0.0251 -0.1175) |
| OKLCH | oklch(54.17% 0.12 258) |
| XYZ | xyz(16.0341, 15.7526, 45.3667) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.84
Medium Blue
#2C6FBB
ΔE00 2.31
Mid Blue
#276AB3
ΔE00 3.10
Flat Blue
#3C73A8
ΔE00 3.14
Windows Blue
#3778BF
ΔE00 4.05
Muted Blue
#3B719F
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FB4 #B48540
analogous
#40A9B4 #406FB4 #4B40B4
triadic
#406FB4 #B4406F #6FB440
tetradic
#406FB4 #B440A9 #B48540 #40B44B
square
#406FB4 #B440A9 #B48540 #40B44B
split-complementary
#406FB4 #B44B40 #A9B440
monochromatic
#20375A #305387 #406FB4 #688FC9 #95B1D9
Accessibility & contrast
On white
5.06
#406FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#406FB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FB4
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FB4 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5174B7
Deuteranopia (green-blind)
#406AB3
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #406fb4; /* rgb */ color: rgb(64, 111, 180); /* oklch */ color: oklch(54.2% 0.120 258.0);
Tailwind
colors: {
custom: {
50: '#8097cb',
500: '#406fb4',
950: '#000000',
},
}SCSS
$custom: #406fb4; $custom-light: #8097cb; $custom-dark: #000000;
JSON
{
"hex": "#406fb4",
"rgb": {
"r": 64,
"g": 111,
"b": 180
},
"hsl": {
"h": 215.69,
"s": 47.541,
"l": 47.843
},
"oklch": {
"l": 0.54172,
"c": 0.1202,
"h": 258
},
"luminance": 0.15754
}Semantic roles & 50–950 ramp
primary
#406FB4
secondary
#C5AD8B
accent
#A151D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82