#406AB2#406AB2
#406AB2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.9% C 0.123 H 260.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #406AB2 |
|---|---|
| RGB | rgb(64, 106, 178) |
| HSL | hsl(218, 47%, 47%) |
| HSV | hsv(218, 64%, 70%) |
| CMYK | cmyk(64%, 40.4%, 0%, 30.2%) |
| CIE-LAB | lab(45.10, 8.65, -42.66) |
| CIE-LCH | lch(45.10, 43.53, 281.46°) |
| OKLab | oklab(52.93% -0.0203 -0.1214) |
| OKLCH | oklch(52.93% 0.123 260.5) |
| XYZ | xyz(15.3014, 14.6110, 44.1247) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 0.70
Mid Blue
#276AB3
ΔE00 3.33
Medium Blue
#2C6FBB
ΔE00 3.61
Denim
#1560BD
ΔE00 4.28
Flat Blue
#3C73A8
ΔE00 4.61
Muted Blue
#3B719F
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406AB2 #B28840
analogous
#40A3B2 #406AB2 #4F40B2
triadic
#406AB2 #B2406A #6AB240
tetradic
#406AB2 #B240A3 #B28840 #40B24F
square
#406AB2 #B240A3 #B28840 #40B24F
split-complementary
#406AB2 #B24F40 #A3B240
monochromatic
#203458 #304F85 #406AB2 #678BC8 #94ADD8
Accessibility & contrast
On white
5.35
#406AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#406AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406AB2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406AB2 | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A70B5
Deuteranopia (green-blind)
#3966B1
Tritanopia (blue-blind)
#007A85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #406ab2; /* rgb */ color: rgb(64, 106, 178); /* oklch */ color: oklch(52.9% 0.123 260.5);
Tailwind
colors: {
custom: {
50: '#8094c9',
500: '#406ab2',
950: '#000000',
},
}SCSS
$custom: #406ab2; $custom-light: #8094c9; $custom-dark: #000000;
JSON
{
"hex": "#406ab2",
"rgb": {
"r": 64,
"g": 106,
"b": 178
},
"hsl": {
"h": 217.895,
"s": 47.107,
"l": 47.451
},
"oklch": {
"l": 0.52933,
"c": 0.12311,
"h": 260.5
},
"luminance": 0.14612
}Semantic roles & 50–950 ramp
primary
#406AB2
secondary
#C4AF8A
accent
#A551D7
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82