#406BC1#406BC1
#406BC1 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.143 H 262.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #406BC1 |
|---|---|
| RGB | rgb(64, 107, 193) |
| HSL | hsl(220, 51%, 50%) |
| HSV | hsv(220, 67%, 76%) |
| CMYK | cmyk(66.8%, 44.6%, 0%, 24.3%) |
| CIE-LAB | lab(46.25, 13.36, -49.53) |
| CIE-LCH | lch(46.25, 51.30, 285.10°) |
| OKLab | oklab(54.1% -0.0184 -0.1416) |
| OKLCH | oklch(54.1% 0.143 262.6) |
| XYZ | xyz(16.9943, 15.4540, 52.5290) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.37
Medium Blue
#2C6FBB
ΔE00 3.96
Mid Blue
#276AB3
ΔE00 4.30
Royal Blue
#4169E1
ΔE00 4.32
Cornflower Blue
#5170D7
ΔE00 4.40
Denim
#1560BD
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BC1 #C19640
analogous
#40ABC1 #406BC1 #5540C1
triadic
#406BC1 #C1406B #6BC140
tetradic
#406BC1 #C140AB #C19640 #40C155
square
#406BC1 #C140AB #C19640 #40C155
split-complementary
#406BC1 #C15540 #ABC140
monochromatic
#213866 #305194 #406BC1 #6E8FD0 #9CB3DF
Accessibility & contrast
On white
5.13
#406BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#406BC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BC1
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BC1 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4174C4
Deuteranopia (green-blind)
#2B68BF
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #406bc1; /* rgb */ color: rgb(64, 107, 193); /* oklch */ color: oklch(54.1% 0.143 262.6);
Tailwind
colors: {
custom: {
50: '#8294d4',
500: '#406bc1',
950: '#000000',
},
}SCSS
$custom: #406bc1; $custom-light: #8294d4; $custom-dark: #000000;
JSON
{
"hex": "#406bc1",
"rgb": {
"r": 64,
"g": 107,
"b": 193
},
"hsl": {
"h": 220,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.54104,
"c": 0.14276,
"h": 262.6
},
"luminance": 0.15456
}Semantic roles & 50–950 ramp
primary
#406BC1
secondary
#CBB892
accent
#AB4DDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83