#406CC1#406CC1
#406CC1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.142 H 262.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #406CC1 |
|---|---|
| RGB | rgb(64, 108, 193) |
| HSL | hsl(220, 51%, 50%) |
| HSV | hsv(220, 67%, 76%) |
| CMYK | cmyk(66.8%, 44%, 0%, 24.3%) |
| CIE-LAB | lab(46.53, 12.73, -49.08) |
| CIE-LCH | lch(46.53, 50.71, 284.54°) |
| OKLab | oklab(54.32% -0.0193 -0.1402) |
| OKLCH | oklch(54.32% 0.142 262.1) |
| XYZ | xyz(17.0992, 15.6637, 52.5640) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.37
Medium Blue
#2C6FBB
ΔE00 3.71
Mid Blue
#276AB3
ΔE00 4.20
Cornflower Blue
#5170D7
ΔE00 4.35
Royal Blue
#4169E1
ΔE00 4.42
Flat Blue
#3C73A8
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406CC1 #C19540
analogous
#40ACC1 #406CC1 #5440C1
triadic
#406CC1 #C1406C #6CC140
tetradic
#406CC1 #C140AC #C19540 #40C154
square
#406CC1 #C140AC #C19540 #40C154
split-complementary
#406CC1 #C15440 #ACC140
monochromatic
#213866 #305294 #406CC1 #6E90D0 #9CB3DF
Accessibility & contrast
On white
5.08
#406CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#406CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406CC1
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406CC1 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4375C4
Deuteranopia (green-blind)
#2D69BF
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #406cc1; /* rgb */ color: rgb(64, 108, 193); /* oklch */ color: oklch(54.3% 0.142 262.1);
Tailwind
colors: {
custom: {
50: '#8295d4',
500: '#406cc1',
950: '#000000',
},
}SCSS
$custom: #406cc1; $custom-light: #8295d4; $custom-dark: #000000;
JSON
{
"hex": "#406cc1",
"rgb": {
"r": 64,
"g": 108,
"b": 193
},
"hsl": {
"h": 219.535,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.5432,
"c": 0.14156,
"h": 262.1
},
"luminance": 0.15665
}Semantic roles & 50–950 ramp
primary
#406CC1
secondary
#CBB892
accent
#AA4DDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83