#406DC0#406DC0
#406DC0 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.139 H 261.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #406DC0 |
|---|---|
| RGB | rgb(64, 109, 192) |
| HSL | hsl(219, 50%, 50%) |
| HSV | hsv(219, 67%, 75%) |
| CMYK | cmyk(66.7%, 43.2%, 0%, 24.7%) |
| CIE-LAB | lab(46.75, 11.75, -48.15) |
| CIE-LCH | lch(46.75, 49.56, 283.71°) |
| OKLab | oklab(54.47% -0.0205 -0.1375) |
| OKLCH | oklch(54.47% 0.139 261.5) |
| XYZ | xyz(17.0940, 15.8314, 52.0138) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.32
Medium Blue
#2C6FBB
ΔE00 3.40
Mid Blue
#276AB3
ΔE00 4.04
Cornflower Blue
#5170D7
ΔE00 4.45
Royal Blue
#4169E1
ΔE00 4.66
Flat Blue
#3C73A8
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406DC0 #C09340
analogous
#40ADC0 #406DC0 #5340C0
triadic
#406DC0 #C0406D #6DC040
tetradic
#406DC0 #C040AD #C09340 #40C053
square
#406DC0 #C040AD #C09340 #40C053
split-complementary
#406DC0 #C05340 #ADC040
monochromatic
#213964 #305392 #406DC0 #6E90CF #9CB3DE
Accessibility & contrast
On white
5.04
#406DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#406DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406DC0
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406DC0 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4675C3
Deuteranopia (green-blind)
#3169BE
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #406dc0; /* rgb */ color: rgb(64, 109, 192); /* oklch */ color: oklch(54.5% 0.139 261.5);
Tailwind
colors: {
custom: {
50: '#8296d3',
500: '#406dc0',
950: '#000000',
},
}SCSS
$custom: #406dc0; $custom-light: #8296d3; $custom-dark: #000000;
JSON
{
"hex": "#406dc0",
"rgb": {
"r": 64,
"g": 109,
"b": 192
},
"hsl": {
"h": 218.906,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.54473,
"c": 0.139,
"h": 261.5
},
"luminance": 0.15833
}Semantic roles & 50–950 ramp
primary
#406DC0
secondary
#CBB691
accent
#A94EDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83