#406CBD#406CBD
#406CBD is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.136 H 261.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #406CBD |
|---|---|
| RGB | rgb(64, 108, 189) |
| HSL | hsl(219, 49%, 50%) |
| HSV | hsv(219, 66%, 74%) |
| CMYK | cmyk(66.1%, 42.9%, 0%, 25.9%) |
| CIE-LAB | lab(46.29, 11.30, -47.15) |
| CIE-LCH | lch(46.29, 48.48, 283.48°) |
| OKLab | oklab(54.06% -0.0201 -0.1345) |
| OKLCH | oklch(54.06% 0.136 261.5) |
| XYZ | xyz(16.6590, 15.4876, 50.2457) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.90
Medium Blue
#2C6FBB
ΔE00 3.45
Mid Blue
#276AB3
ΔE00 3.85
Flat Blue
#3C73A8
ΔE00 4.69
Cornflower Blue
#5170D7
ΔE00 4.79
Denim
#1560BD
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406CBD #BD9140
analogous
#40ABBD #406CBD #5340BD
triadic
#406CBD #BD406C #6CBD40
tetradic
#406CBD #BD40AB #BD9140 #40BD53
square
#406CBD #BD40AB #BD9140 #40BD53
split-complementary
#406CBD #BD5340 #ABBD40
monochromatic
#213862 #31528F #406CBD #6D8FCD #9AB2DD
Accessibility & contrast
On white
5.12
#406CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#406CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406CBD
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406CBD | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4674C0
Deuteranopia (green-blind)
#3268BB
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #406cbd; /* rgb */ color: rgb(64, 108, 189); /* oklch */ color: oklch(54.1% 0.136 261.5);
Tailwind
colors: {
custom: {
50: '#8295d1',
500: '#406cbd',
950: '#000000',
},
}SCSS
$custom: #406cbd; $custom-light: #8295d1; $custom-dark: #000000;
JSON
{
"hex": "#406cbd",
"rgb": {
"r": 64,
"g": 108,
"b": 189
},
"hsl": {
"h": 218.88,
"s": 49.407,
"l": 49.608
},
"oklch": {
"l": 0.54063,
"c": 0.13604,
"h": 261.5
},
"luminance": 0.15489
}Semantic roles & 50–950 ramp
primary
#406CBD
secondary
#C9B590
accent
#A84FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82