#406AC1#406AC1
#406AC1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.9% C 0.144 H 263.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #406AC1 |
|---|---|
| RGB | rgb(64, 106, 193) |
| HSL | hsl(220, 51%, 50%) |
| HSV | hsv(220, 67%, 76%) |
| CMYK | cmyk(66.8%, 45.1%, 0%, 24.3%) |
| CIE-LAB | lab(45.97, 13.99, -49.98) |
| CIE-LCH | lch(45.97, 51.90, 285.64°) |
| OKLab | oklab(53.89% -0.0174 -0.1429) |
| OKLCH | oklch(53.89% 0.144 263.1) |
| XYZ | xyz(16.8906, 15.2467, 52.4945) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.42
Medium Blue
#2C6FBB
ΔE00 4.23
Royal Blue
#4169E1
ΔE00 4.25
Mid Blue
#276AB3
ΔE00 4.42
Cornflower Blue
#5170D7
ΔE00 4.48
Denim
#1560BD
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406AC1 #C19740
analogous
#40AAC1 #406AC1 #5640C1
triadic
#406AC1 #C1406A #6AC140
tetradic
#406AC1 #C140AA #C19740 #40C156
square
#406AC1 #C140AA #C19740 #40C156
split-complementary
#406AC1 #C15640 #AAC140
monochromatic
#213766 #305094 #406AC1 #6E8ED0 #9CB2DF
Accessibility & contrast
On white
5.19
#406AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#406AC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406AC1
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406AC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406AC1 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F73C4
Deuteranopia (green-blind)
#2867BF
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #406ac1; /* rgb */ color: rgb(64, 106, 193); /* oklch */ color: oklch(53.9% 0.144 263.1);
Tailwind
colors: {
custom: {
50: '#8294d4',
500: '#406ac1',
950: '#000000',
},
}SCSS
$custom: #406ac1; $custom-light: #8294d4; $custom-dark: #000000;
JSON
{
"hex": "#406ac1",
"rgb": {
"r": 64,
"g": 106,
"b": 193
},
"hsl": {
"h": 220.465,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.53889,
"c": 0.14396,
"h": 263.1
},
"luminance": 0.15248
}Semantic roles & 50–950 ramp
primary
#406AC1
secondary
#CBB892
accent
#AD4DDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83