#406BBB#406BBB
#406BBB is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.134 H 261.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #406BBB |
|---|---|
| RGB | rgb(64, 107, 187) |
| HSL | hsl(219, 49%, 49%) |
| HSV | hsv(219, 66%, 73%) |
| CMYK | cmyk(65.8%, 42.8%, 0%, 26.7%) |
| CIE-LAB | lab(45.90, 11.22, -46.63) |
| CIE-LCH | lch(45.90, 47.96, 283.53°) |
| OKLab | oklab(53.72% -0.0195 -0.133) |
| OKLCH | oklch(53.72% 0.134 261.7) |
| XYZ | xyz(16.3385, 15.1917, 49.0753) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.64
Medium Blue
#2C6FBB
ΔE00 3.61
Mid Blue
#276AB3
ΔE00 3.79
Denim
#1560BD
ΔE00 4.60
Flat Blue
#3C73A8
ΔE00 4.83
Royal Blue
#4169E1
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BBB #BB9040
analogous
#40A9BB #406BBB #5240BB
triadic
#406BBB #BB406B #6BBB40
tetradic
#406BBB #BB40A9 #BB9040 #40BB52
square
#406BBB #BB40A9 #BB9040 #40BB52
split-complementary
#406BBB #BB5240 #A9BB40
monochromatic
#213760 #30518D #406BBB #6C8ECD #99B1DC
Accessibility & contrast
On white
5.20
#406BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#406BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BBB
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BBB | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #406bbb; /* rgb */ color: rgb(64, 107, 187); /* oklch */ color: oklch(53.7% 0.134 261.7);
Tailwind
colors: {
custom: {
50: '#8194d0',
500: '#406bbb',
950: '#000000',
},
}SCSS
$custom: #406bbb; $custom-light: #8194d0; $custom-dark: #000000;
JSON
{
"hex": "#406bbb",
"rgb": {
"r": 64,
"g": 107,
"b": 187
},
"hsl": {
"h": 219.024,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.53717,
"c": 0.13445,
"h": 261.7
},
"luminance": 0.15193
}Semantic roles & 50–950 ramp
primary
#406BBB
secondary
#C8B48F
accent
#A94FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82