#406FB3#406FB3
#406FB3 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.1% C 0.119 H 257.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #406FB3 |
|---|---|
| RGB | rgb(64, 111, 179) |
| HSL | hsl(215, 47%, 48%) |
| HSV | hsv(215, 64%, 70%) |
| CMYK | cmyk(64.2%, 38%, 0%, 29.8%) |
| CIE-LAB | lab(46.59, 5.89, -40.87) |
| CIE-LCH | lch(46.59, 41.29, 278.20°) |
| OKLab | oklab(54.11% -0.0253 -0.1161) |
| OKLCH | oklch(54.11% 0.119 257.7) |
| XYZ | xyz(15.9326, 15.7120, 44.8322) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.82
Medium Blue
#2C6FBB
ΔE00 2.28
Mid Blue
#276AB3
ΔE00 3.04
Flat Blue
#3C73A8
ΔE00 3.05
Muted Blue
#3B719F
ΔE00 3.99
Windows Blue
#3778BF
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FB3 #B38440
analogous
#40A9B3 #406FB3 #4A40B3
triadic
#406FB3 #B3406F #6FB340
tetradic
#406FB3 #B340A9 #B38440 #40B34A
square
#406FB3 #B340A9 #B38440 #40B34A
split-complementary
#406FB3 #B34A40 #A9B340
monochromatic
#203759 #305386 #406FB3 #678FC9 #94B0D9
Accessibility & contrast
On white
5.07
#406FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#406FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FB3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FB3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5174B6
Deuteranopia (green-blind)
#4169B2
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #406fb3; /* rgb */ color: rgb(64, 111, 179); /* oklch */ color: oklch(54.1% 0.119 257.7);
Tailwind
colors: {
custom: {
50: '#8097ca',
500: '#406fb3',
950: '#000000',
},
}SCSS
$custom: #406fb3; $custom-light: #8097ca; $custom-dark: #000000;
JSON
{
"hex": "#406fb3",
"rgb": {
"r": 64,
"g": 111,
"b": 179
},
"hsl": {
"h": 215.478,
"s": 47.325,
"l": 47.647
},
"oklch": {
"l": 0.54113,
"c": 0.11883,
"h": 257.7
},
"luminance": 0.15714
}Semantic roles & 50–950 ramp
primary
#406FB3
secondary
#C4AD8A
accent
#A051D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82