#406DC1#406DC1
#406DC1 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.140 H 261.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #406DC1 |
|---|---|
| RGB | rgb(64, 109, 193) |
| HSL | hsl(219, 51%, 50%) |
| HSV | hsv(219, 67%, 76%) |
| CMYK | cmyk(66.8%, 43.5%, 0%, 24.3%) |
| CIE-LAB | lab(46.81, 12.10, -48.63) |
| CIE-LCH | lch(46.81, 50.12, 283.98°) |
| OKLab | oklab(54.54% -0.0203 -0.1389) |
| OKLCH | oklch(54.54% 0.14 261.7) |
| XYZ | xyz(17.2052, 15.8758, 52.5994) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.43
Medium Blue
#2C6FBB
ΔE00 3.47
Mid Blue
#276AB3
ΔE00 4.14
Cornflower Blue
#5170D7
ΔE00 4.34
Royal Blue
#4169E1
ΔE00 4.54
Flat Blue
#3C73A8
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406DC1 #C19440
analogous
#40ADC1 #406DC1 #5440C1
triadic
#406DC1 #C1406D #6DC140
tetradic
#406DC1 #C140AD #C19440 #40C154
square
#406DC1 #C140AD #C19440 #40C154
split-complementary
#406DC1 #C15440 #ADC140
monochromatic
#213966 #305394 #406DC1 #6E90D0 #9CB4DF
Accessibility & contrast
On white
5.03
#406DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#406DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406DC1
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406DC1 | 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)
#4575C4
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #406dc1; /* rgb */ color: rgb(64, 109, 193); /* oklch */ color: oklch(54.5% 0.140 261.7);
Tailwind
colors: {
custom: {
50: '#8296d4',
500: '#406dc1',
950: '#000000',
},
}SCSS
$custom: #406dc1; $custom-light: #8296d4; $custom-dark: #000000;
JSON
{
"hex": "#406dc1",
"rgb": {
"r": 64,
"g": 109,
"b": 193
},
"hsl": {
"h": 219.07,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.54537,
"c": 0.14038,
"h": 261.7
},
"luminance": 0.15878
}Semantic roles & 50–950 ramp
primary
#406DC1
secondary
#CBB792
accent
#A94DDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83