#406AC2#406AC2
#406AC2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.0% C 0.145 H 263.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #406AC2 |
|---|---|
| RGB | rgb(64, 106, 194) |
| HSL | hsl(221, 52%, 51%) |
| HSV | hsv(221, 67%, 76%) |
| CMYK | cmyk(67%, 45.4%, 0%, 23.9%) |
| CIE-LAB | lab(46.03, 14.35, -50.46) |
| CIE-LCH | lch(46.03, 52.46, 285.88°) |
| OKLab | oklab(53.96% -0.0172 -0.1443) |
| OKLCH | oklch(53.96% 0.145 263.2) |
| XYZ | xyz(17.0026, 15.2914, 53.0840) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.54
Royal Blue
#4169E1
ΔE00 4.13
Medium Blue
#2C6FBB
ΔE00 4.29
Cornflower Blue
#5170D7
ΔE00 4.37
Mid Blue
#276AB3
ΔE00 4.51
Denim
#1560BD
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406AC2 #C29840
analogous
#40ABC2 #406AC2 #5740C2
triadic
#406AC2 #C2406A #6AC240
tetradic
#406AC2 #C240AB #C29840 #40C257
square
#406AC2 #C240AB #C29840 #40C257
split-complementary
#406AC2 #C25740 #ABC240
monochromatic
#213767 #305095 #406AC2 #6E8ED1 #9DB2E0
Accessibility & contrast
On white
5.17
#406AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#406AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406AC2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406AC2 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F73C5
Deuteranopia (green-blind)
#2767C0
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #406ac2; /* rgb */ color: rgb(64, 106, 194); /* oklch */ color: oklch(54.0% 0.145 263.2);
Tailwind
colors: {
custom: {
50: '#8394d5',
500: '#406ac2',
950: '#000000',
},
}SCSS
$custom: #406ac2; $custom-light: #8394d5; $custom-dark: #000000;
JSON
{
"hex": "#406ac2",
"rgb": {
"r": 64,
"g": 106,
"b": 194
},
"hsl": {
"h": 220.615,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.53956,
"c": 0.14534,
"h": 263.2
},
"luminance": 0.15293
}Semantic roles & 50–950 ramp
primary
#406AC2
secondary
#CCB992
accent
#AD4DDB
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83