#406EBC#406EBC
#406EBC is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.4% C 0.132 H 260.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #406EBC |
|---|---|
| RGB | rgb(64, 110, 188) |
| HSL | hsl(218, 49%, 49%) |
| HSV | hsv(218, 66%, 74%) |
| CMYK | cmyk(66%, 41.5%, 0%, 26.3%) |
| CIE-LAB | lab(46.80, 9.69, -45.76) |
| CIE-LCH | lch(46.80, 46.77, 281.96°) |
| OKLab | oklab(54.44% -0.0223 -0.1304) |
| OKLCH | oklch(54.44% 0.132 260.3) |
| XYZ | xyz(16.7642, 15.8711, 49.7471) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.06
Medium Blue
#2C6FBB
ΔE00 2.91
Mid Blue
#276AB3
ΔE00 3.66
Flat Blue
#3C73A8
ΔE00 4.09
Windows Blue
#3778BF
ΔE00 4.54
Cornflower Blue
#5170D7
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406EBC #BC8E40
analogous
#40ACBC #406EBC #5040BC
triadic
#406EBC #BC406E #6EBC40
tetradic
#406EBC #BC40AC #BC8E40 #40BC50
square
#406EBC #BC40AC #BC8E40 #40BC50
split-complementary
#406EBC #BC5040 #ACBC40
monochromatic
#213961 #30538E #406EBC #6C90CD #9AB3DD
Accessibility & contrast
On white
5.03
#406EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#406EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406EBC
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406EBC | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#376ABA
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #406ebc; /* rgb */ color: rgb(64, 110, 188); /* oklch */ color: oklch(54.4% 0.132 260.3);
Tailwind
colors: {
custom: {
50: '#8197d0',
500: '#406ebc',
950: '#000000',
},
}SCSS
$custom: #406ebc; $custom-light: #8197d0; $custom-dark: #000000;
JSON
{
"hex": "#406ebc",
"rgb": {
"r": 64,
"g": 110,
"b": 188
},
"hsl": {
"h": 217.742,
"s": 49.206,
"l": 49.412
},
"oklch": {
"l": 0.54438,
"c": 0.13232,
"h": 260.3
},
"luminance": 0.15873
}Semantic roles & 50–950 ramp
primary
#406EBC
secondary
#C9B38F
accent
#A64FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82