#406FB5#406FB5
#406FB5 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.2% C 0.122 H 258.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #406FB5 |
|---|---|
| RGB | rgb(64, 111, 181) |
| HSL | hsl(216, 48%, 48%) |
| HSV | hsv(216, 65%, 71%) |
| CMYK | cmyk(64.6%, 38.7%, 0%, 29%) |
| CIE-LAB | lab(46.70, 6.59, -41.86) |
| CIE-LCH | lch(46.70, 42.38, 278.95°) |
| OKLab | oklab(54.23% -0.0248 -0.119) |
| OKLCH | oklch(54.23% 0.122 258.2) |
| XYZ | xyz(16.1363, 15.7935, 45.9052) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.87
Medium Blue
#2C6FBB
ΔE00 2.34
Mid Blue
#276AB3
ΔE00 3.16
Flat Blue
#3C73A8
ΔE00 3.23
Windows Blue
#3778BF
ΔE00 4.05
Muted Blue
#3B719F
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FB5 #B58640
analogous
#40A9B5 #406FB5 #4B40B5
triadic
#406FB5 #B5406F #6FB540
tetradic
#406FB5 #B540A9 #B58640 #40B54B
square
#406FB5 #B540A9 #B58640 #40B54B
split-complementary
#406FB5 #B54B40 #A9B540
monochromatic
#20385B #305388 #406FB5 #6890CA #96B1DA
Accessibility & contrast
On white
5.05
#406FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#406FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FB5
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FB5 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5075B8
Deuteranopia (green-blind)
#3F6AB4
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #406fb5; /* rgb */ color: rgb(64, 111, 181); /* oklch */ color: oklch(54.2% 0.122 258.2);
Tailwind
colors: {
custom: {
50: '#8097cb',
500: '#406fb5',
950: '#000000',
},
}SCSS
$custom: #406fb5; $custom-light: #8097cb; $custom-dark: #000000;
JSON
{
"hex": "#406fb5",
"rgb": {
"r": 64,
"g": 111,
"b": 181
},
"hsl": {
"h": 215.897,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.54232,
"c": 0.12157,
"h": 258.2
},
"luminance": 0.15795
}Semantic roles & 50–950 ramp
primary
#406FB5
secondary
#C5AE8B
accent
#A150D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82