#406CB8#406CB8
#406CB8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.7% C 0.129 H 260.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #406CB8 |
|---|---|
| RGB | rgb(64, 108, 184) |
| HSL | hsl(218, 48%, 49%) |
| HSV | hsv(218, 65%, 72%) |
| CMYK | cmyk(65.2%, 41.3%, 0%, 27.8%) |
| CIE-LAB | lab(46.01, 9.52, -44.71) |
| CIE-LCH | lch(46.01, 45.71, 282.03°) |
| OKLab | oklab(53.75% -0.0211 -0.1274) |
| OKLCH | oklch(53.75% 0.129 260.6) |
| XYZ | xyz(16.1256, 15.2743, 47.4365) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.34
Medium Blue
#2C6FBB
ΔE00 3.19
Mid Blue
#276AB3
ΔE00 3.45
Flat Blue
#3C73A8
ΔE00 4.33
Denim
#1560BD
ΔE00 4.73
Muted Blue
#3B719F
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406CB8 #B88C40
analogous
#40A8B8 #406CB8 #5040B8
triadic
#406CB8 #B8406C #6CB840
tetradic
#406CB8 #B840A8 #B88C40 #40B850
square
#406CB8 #B840A8 #B88C40 #40B850
split-complementary
#406CB8 #B85040 #A8B840
monochromatic
#20375D #30518B #406CB8 #6A8ECB #97B0DB
Accessibility & contrast
On white
5.18
#406CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#406CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406CB8
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406CB8 | 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)
#4973BB
Deuteranopia (green-blind)
#3768B6
Tritanopia (blue-blind)
#007D89
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #406cb8; /* rgb */ color: rgb(64, 108, 184); /* oklch */ color: oklch(53.7% 0.129 260.6);
Tailwind
colors: {
custom: {
50: '#8195ce',
500: '#406cb8',
950: '#000000',
},
}SCSS
$custom: #406cb8; $custom-light: #8195ce; $custom-dark: #000000;
JSON
{
"hex": "#406cb8",
"rgb": {
"r": 64,
"g": 108,
"b": 184
},
"hsl": {
"h": 218,
"s": 48.387,
"l": 48.627
},
"oklch": {
"l": 0.53748,
"c": 0.12913,
"h": 260.6
},
"luminance": 0.15276
}Semantic roles & 50–950 ramp
primary
#406CB8
secondary
#C7B28D
accent
#A650D8
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82