#406CC6#406CC6
#406CC6 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.6% C 0.148 H 262.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #406CC6 |
|---|---|
| RGB | rgb(64, 108, 198) |
| HSL | hsl(220, 54%, 51%) |
| HSV | hsv(220, 68%, 78%) |
| CMYK | cmyk(67.7%, 45.5%, 0%, 22.4%) |
| CIE-LAB | lab(46.83, 14.53, -51.48) |
| CIE-LCH | lch(46.83, 53.49, 285.76°) |
| OKLab | oklab(54.65% -0.0185 -0.1473) |
| OKLCH | oklch(54.65% 0.148 262.9) |
| XYZ | xyz(17.6664, 15.8906, 55.5513) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.97
Royal Blue
#4169E1
ΔE00 3.81
Cornflower Blue
#5170D7
ΔE00 3.82
Medium Blue
#2C6FBB
ΔE00 4.08
Cerulean Blue
#056EEE
ΔE00 4.60
Mid Blue
#276AB3
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406CC6 #C69A40
analogous
#40AFC6 #406CC6 #5740C6
triadic
#406CC6 #C6406C #6CC640
tetradic
#406CC6 #C640AF #C69A40 #40C657
square
#406CC6 #C640AF #C69A40 #40C657
split-complementary
#406CC6 #C65740 #AFC640
monochromatic
#20396C #2E529B #406CC6 #6F90D4 #9EB5E2
Accessibility & contrast
On white
5.03
#406CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#406CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406CC6
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406CC6 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F76C9
Deuteranopia (green-blind)
#2669C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #406cc6; /* rgb */ color: rgb(64, 108, 198); /* oklch */ color: oklch(54.6% 0.148 262.9);
Tailwind
colors: {
custom: {
50: '#8395d8',
500: '#406cc6',
950: '#000000',
},
}SCSS
$custom: #406cc6; $custom-light: #8395d8; $custom-dark: #000000;
JSON
{
"hex": "#406cc6",
"rgb": {
"r": 64,
"g": 108,
"b": 198
},
"hsl": {
"h": 220.299,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.54648,
"c": 0.14844,
"h": 262.9
},
"luminance": 0.15892
}Semantic roles & 50–950 ramp
primary
#406CC6
secondary
#CEBB93
accent
#AD4ADD
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83