#406BB2#406BB2
#406BB2 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.2% C 0.122 H 259.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #406BB2 |
|---|---|
| RGB | rgb(64, 107, 178) |
| HSL | hsl(217, 47%, 47%) |
| HSV | hsv(217, 64%, 70%) |
| CMYK | cmyk(64%, 39.9%, 0%, 30.2%) |
| CIE-LAB | lab(45.38, 8.02, -42.21) |
| CIE-LCH | lch(45.38, 42.96, 280.77°) |
| OKLab | oklab(53.15% -0.0214 -0.1201) |
| OKLCH | oklch(53.15% 0.122 259.9) |
| XYZ | xyz(15.4051, 14.8183, 44.1592) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 0.66
Mid Blue
#276AB3
ΔE00 3.16
Medium Blue
#2C6FBB
ΔE00 3.29
Flat Blue
#3C73A8
ΔE00 4.27
Denim
#1560BD
ΔE00 4.46
Muted Blue
#3B719F
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BB2 #B28740
analogous
#40A4B2 #406BB2 #4E40B2
triadic
#406BB2 #B2406B #6BB240
tetradic
#406BB2 #B240A4 #B28740 #40B24E
square
#406BB2 #B240A4 #B28740 #40B24E
split-complementary
#406BB2 #B24E40 #A4B240
monochromatic
#203558 #305085 #406BB2 #678CC8 #94AED8
Accessibility & contrast
On white
5.30
#406BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#406BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BB2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BB2 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#3B67B1
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #406bb2; /* rgb */ color: rgb(64, 107, 178); /* oklch */ color: oklch(53.2% 0.122 259.9);
Tailwind
colors: {
custom: {
50: '#8094c9',
500: '#406bb2',
950: '#000000',
},
}SCSS
$custom: #406bb2; $custom-light: #8094c9; $custom-dark: #000000;
JSON
{
"hex": "#406bb2",
"rgb": {
"r": 64,
"g": 107,
"b": 178
},
"hsl": {
"h": 217.368,
"s": 47.107,
"l": 47.451
},
"oklch": {
"l": 0.53155,
"c": 0.12196,
"h": 259.9
},
"luminance": 0.1482
}Semantic roles & 50–950 ramp
primary
#406BB2
secondary
#C4AE8A
accent
#A451D7
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82