#406AB8#406AB8
#406AB8 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.131 H 261.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #406AB8 |
|---|---|
| RGB | rgb(64, 106, 184) |
| HSL | hsl(219, 48%, 49%) |
| HSV | hsv(219, 65%, 72%) |
| CMYK | cmyk(65.2%, 42.4%, 0%, 27.8%) |
| CIE-LAB | lab(45.44, 10.78, -45.62) |
| CIE-LCH | lch(45.44, 46.87, 283.30°) |
| OKLab | oklab(53.31% -0.0191 -0.1301) |
| OKLCH | oklch(53.31% 0.131 261.7) |
| XYZ | xyz(15.9171, 14.8572, 47.3670) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.34
Mid Blue
#276AB3
ΔE00 3.71
Medium Blue
#2C6FBB
ΔE00 3.78
Denim
#1560BD
ΔE00 4.34
Flat Blue
#3C73A8
ΔE00 4.94
Royal Blue
#4169E1
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406AB8 #B88E40
analogous
#40A6B8 #406AB8 #5240B8
triadic
#406AB8 #B8406A #6AB840
tetradic
#406AB8 #B840A6 #B88E40 #40B852
square
#406AB8 #B840A6 #B88E40 #40B852
split-complementary
#406AB8 #B85240 #A6B840
monochromatic
#20365D #30508B #406AB8 #6A8CCB #97AFDB
Accessibility & contrast
On white
5.29
#406AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#406AB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406AB8
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406AB8 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4672BB
Deuteranopia (green-blind)
#3366B6
Tritanopia (blue-blind)
#007C88
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #406ab8; /* rgb */ color: rgb(64, 106, 184); /* oklch */ color: oklch(53.3% 0.131 261.7);
Tailwind
colors: {
custom: {
50: '#8194ce',
500: '#406ab8',
950: '#000000',
},
}SCSS
$custom: #406ab8; $custom-light: #8194ce; $custom-dark: #000000;
JSON
{
"hex": "#406ab8",
"rgb": {
"r": 64,
"g": 106,
"b": 184
},
"hsl": {
"h": 219,
"s": 48.387,
"l": 48.627
},
"oklch": {
"l": 0.53307,
"c": 0.13147,
"h": 261.7
},
"luminance": 0.14859
}Semantic roles & 50–950 ramp
primary
#406AB8
secondary
#C7B38D
accent
#A850D8
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82