#406BBD#406BBD
#406BBD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.137 H 262.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #406BBD |
|---|---|
| RGB | rgb(64, 107, 189) |
| HSL | hsl(219, 49%, 50%) |
| HSV | hsv(219, 66%, 74%) |
| CMYK | cmyk(66.1%, 43.4%, 0%, 25.9%) |
| CIE-LAB | lab(46.01, 11.93, -47.60) |
| CIE-LCH | lch(46.01, 49.07, 284.07°) |
| OKLab | oklab(53.85% -0.0191 -0.1359) |
| OKLCH | oklch(53.85% 0.137 262) |
| XYZ | xyz(16.5541, 15.2779, 50.2108) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.88
Medium Blue
#2C6FBB
ΔE00 3.72
Mid Blue
#276AB3
ΔE00 3.95
Denim
#1560BD
ΔE00 4.67
Royal Blue
#4169E1
ΔE00 4.81
Cornflower Blue
#5170D7
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BBD #BD9240
analogous
#40AABD #406BBD #5440BD
triadic
#406BBD #BD406B #6BBD40
tetradic
#406BBD #BD40AA #BD9240 #40BD54
square
#406BBD #BD40AA #BD9240 #40BD54
split-complementary
#406BBD #BD5440 #AABD40
monochromatic
#213762 #31518F #406BBD #6D8ECD #9AB1DD
Accessibility & contrast
On white
5.18
#406BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#406BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BBD
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BBD | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#3068BB
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #406bbd; /* rgb */ color: rgb(64, 107, 189); /* oklch */ color: oklch(53.8% 0.137 262.0);
Tailwind
colors: {
custom: {
50: '#8294d1',
500: '#406bbd',
950: '#000000',
},
}SCSS
$custom: #406bbd; $custom-light: #8294d1; $custom-dark: #000000;
JSON
{
"hex": "#406bbd",
"rgb": {
"r": 64,
"g": 107,
"b": 189
},
"hsl": {
"h": 219.36,
"s": 49.407,
"l": 49.608
},
"oklch": {
"l": 0.53845,
"c": 0.13723,
"h": 262
},
"luminance": 0.1528
}Semantic roles & 50–950 ramp
primary
#406BBD
secondary
#C9B590
accent
#A94FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82