#406CBE#406CBE
#406CBE is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.137 H 261.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #406CBE |
|---|---|
| RGB | rgb(64, 108, 190) |
| HSL | hsl(219, 50%, 50%) |
| HSV | hsv(219, 66%, 75%) |
| CMYK | cmyk(66.3%, 43.2%, 0%, 25.5%) |
| CIE-LAB | lab(46.35, 11.66, -47.63) |
| CIE-LCH | lch(46.35, 49.04, 283.76°) |
| OKLab | oklab(54.13% -0.0199 -0.136) |
| OKLCH | oklch(54.13% 0.137 261.7) |
| XYZ | xyz(16.7679, 15.5312, 50.8194) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.01
Medium Blue
#2C6FBB
ΔE00 3.51
Mid Blue
#276AB3
ΔE00 3.93
Cornflower Blue
#5170D7
ΔE00 4.68
Flat Blue
#3C73A8
ΔE00 4.76
Royal Blue
#4169E1
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406CBE #BE9240
analogous
#40ABBE #406CBE #5340BE
triadic
#406CBE #BE406C #6CBE40
tetradic
#406CBE #BE40AB #BE9240 #40BE53
square
#406CBE #BE40AB #BE9240 #40BE53
split-complementary
#406CBE #BE5340 #ABBE40
monochromatic
#213862 #315290 #406CBE #6D8FCE #9BB2DD
Accessibility & contrast
On white
5.11
#406CBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#406CBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406CBE
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406CBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406CBE | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#3168BC
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #406cbe; /* rgb */ color: rgb(64, 108, 190); /* oklch */ color: oklch(54.1% 0.137 261.7);
Tailwind
colors: {
custom: {
50: '#8295d2',
500: '#406cbe',
950: '#000000',
},
}SCSS
$custom: #406cbe; $custom-light: #8295d2; $custom-dark: #000000;
JSON
{
"hex": "#406cbe",
"rgb": {
"r": 64,
"g": 108,
"b": 190
},
"hsl": {
"h": 219.048,
"s": 49.606,
"l": 49.804
},
"oklch": {
"l": 0.54127,
"c": 0.13742,
"h": 261.7
},
"luminance": 0.15533
}Semantic roles & 50–950 ramp
primary
#406CBE
secondary
#C9B590
accent
#A94FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0C0D14
muted
#7D7E82