#406BB5#406BB5
#406BB5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.126 H 260.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #406BB5 |
|---|---|
| RGB | rgb(64, 107, 181) |
| HSL | hsl(218, 48%, 48%) |
| HSV | hsv(218, 65%, 71%) |
| CMYK | cmyk(64.6%, 40.9%, 0%, 29%) |
| CIE-LAB | lab(45.55, 9.09, -43.69) |
| CIE-LCH | lch(45.55, 44.62, 281.75°) |
| OKLab | oklab(53.34% -0.0207 -0.1244) |
| OKLCH | oklch(53.34% 0.126 260.5) |
| XYZ | xyz(15.7096, 14.9401, 45.7629) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 0.95
Mid Blue
#276AB3
ΔE00 3.35
Medium Blue
#2C6FBB
ΔE00 3.37
Flat Blue
#3C73A8
ΔE00 4.45
Denim
#1560BD
ΔE00 4.48
Muted Blue
#3B719F
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BB5 #B58A40
analogous
#40A5B5 #406BB5 #5040B5
triadic
#406BB5 #B5406B #6BB540
tetradic
#406BB5 #B540A5 #B58A40 #40B550
square
#406BB5 #B540A5 #B58A40 #40B550
split-complementary
#406BB5 #B55040 #A5B540
monochromatic
#20365B #305088 #406BB5 #688CCA #96AFDA
Accessibility & contrast
On white
5.27
#406BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#406BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BB5
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BB5 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A72B8
Deuteranopia (green-blind)
#3867B3
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #406bb5; /* rgb */ color: rgb(64, 107, 181); /* oklch */ color: oklch(53.3% 0.126 260.5);
Tailwind
colors: {
custom: {
50: '#8094cb',
500: '#406bb5',
950: '#000000',
},
}SCSS
$custom: #406bb5; $custom-light: #8094cb; $custom-dark: #000000;
JSON
{
"hex": "#406bb5",
"rgb": {
"r": 64,
"g": 107,
"b": 181
},
"hsl": {
"h": 217.949,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.5334,
"c": 0.12612,
"h": 260.5
},
"luminance": 0.14942
}Semantic roles & 50–950 ramp
primary
#406BB5
secondary
#C5B08B
accent
#A650D7
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82