#406FB6#406FB6
#406FB6 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.3% C 0.123 H 258.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #406FB6 |
|---|---|
| RGB | rgb(64, 111, 182) |
| HSL | hsl(216, 48%, 48%) |
| HSV | hsv(216, 65%, 71%) |
| CMYK | cmyk(64.8%, 39%, 0%, 28.6%) |
| CIE-LAB | lab(46.76, 6.94, -42.35) |
| CIE-LCH | lch(46.76, 42.92, 279.31°) |
| OKLab | oklab(54.29% -0.0246 -0.1204) |
| OKLCH | oklch(54.29% 0.123 258.4) |
| XYZ | xyz(16.2393, 15.8347, 46.4475) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.91
Medium Blue
#2C6FBB
ΔE00 2.38
Mid Blue
#276AB3
ΔE00 3.22
Flat Blue
#3C73A8
ΔE00 3.31
Windows Blue
#3778BF
ΔE00 4.06
Muted Blue
#3B719F
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FB6 #B68740
analogous
#40AAB6 #406FB6 #4C40B6
triadic
#406FB6 #B6406F #6FB640
tetradic
#406FB6 #B640AA #B68740 #40B64C
square
#406FB6 #B640AA #B68740 #40B64C
split-complementary
#406FB6 #B64C40 #AAB640
monochromatic
#20385B #305389 #406FB6 #6990CA #96B1DA
Accessibility & contrast
On white
5.04
#406FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#406FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FB6
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FB6 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5075B9
Deuteranopia (green-blind)
#3F6AB5
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #406fb6; /* rgb */ color: rgb(64, 111, 182); /* oklch */ color: oklch(54.3% 0.123 258.4);
Tailwind
colors: {
custom: {
50: '#8097cc',
500: '#406fb6',
950: '#000000',
},
}SCSS
$custom: #406fb6; $custom-light: #8097cc; $custom-dark: #000000;
JSON
{
"hex": "#406fb6",
"rgb": {
"r": 64,
"g": 111,
"b": 182
},
"hsl": {
"h": 216.102,
"s": 47.967,
"l": 48.235
},
"oklch": {
"l": 0.54292,
"c": 0.12294,
"h": 258.4
},
"luminance": 0.15836
}Semantic roles & 50–950 ramp
primary
#406FB6
secondary
#C6AF8C
accent
#A250D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82