#406AAF#406AAF
#406AAF is a mid, moderate blue. Relative luminance 0.145; OKLCH L 52.7% C 0.119 H 259.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #406AAF |
|---|---|
| RGB | rgb(64, 106, 175) |
| HSL | hsl(217, 46%, 47%) |
| HSV | hsv(217, 63%, 69%) |
| CMYK | cmyk(63.4%, 39.4%, 0%, 31.4%) |
| CIE-LAB | lab(44.93, 7.59, -41.18) |
| CIE-LCH | lch(44.93, 41.87, 280.45°) |
| OKLab | oklab(52.75% -0.021 -0.1171) |
| OKLCH | oklch(52.75% 0.119 259.8) |
| XYZ | xyz(15.0035, 14.4918, 42.5557) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 0.50
Mid Blue
#276AB3
ΔE00 3.18
Medium Blue
#2C6FBB
ΔE00 3.57
Denim
#1560BD
ΔE00 4.29
Flat Blue
#3C73A8
ΔE00 4.46
Muted Blue
#3B719F
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406AAF #AF8540
analogous
#40A2AF #406AAF #4D40AF
triadic
#406AAF #AF406A #6AAF40
tetradic
#406AAF #AF40A2 #AF8540 #40AF4D
square
#406AAF #AF40A2 #AF8540 #40AF4D
split-complementary
#406AAF #AF4D40 #A2AF40
monochromatic
#1F3455 #304F82 #406AAF #658AC7 #92ACD7
Accessibility & contrast
On white
5.39
#406AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#406AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406AAF
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406AAF | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#3C66AE
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #406aaf; /* rgb */ color: rgb(64, 106, 175); /* oklch */ color: oklch(52.7% 0.119 259.8);
Tailwind
colors: {
custom: {
50: '#7f94c7',
500: '#406aaf',
950: '#000000',
},
}SCSS
$custom: #406aaf; $custom-light: #7f94c7; $custom-dark: #000000;
JSON
{
"hex": "#406aaf",
"rgb": {
"r": 64,
"g": 106,
"b": 175
},
"hsl": {
"h": 217.297,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.52749,
"c": 0.11893,
"h": 259.8
},
"luminance": 0.14493
}Semantic roles & 50–950 ramp
primary
#406AAF
secondary
#C3AC88
accent
#A452D6
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82