#406FAB#406FAB
#406FAB is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.6% C 0.108 H 255.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #406FAB |
|---|---|
| RGB | rgb(64, 111, 171) |
| HSL | hsl(214, 46%, 46%) |
| HSV | hsv(214, 63%, 67%) |
| CMYK | cmyk(62.6%, 35.1%, 0%, 32.9%) |
| CIE-LAB | lab(46.17, 3.09, -36.87) |
| CIE-LCH | lch(46.17, 37.00, 274.79°) |
| OKLab | oklab(53.65% -0.0274 -0.1044) |
| OKLCH | oklch(53.65% 0.108 255.3) |
| XYZ | xyz(15.1468, 15.3977, 40.6940) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
French Blue
#436BAD
ΔE00 2.01
Medium Blue
#2C6FBB
ΔE00 2.29
Flat Blue
#3C73A8
ΔE00 2.38
Mid Blue
#276AB3
ΔE00 2.74
Muted Blue
#3B719F
ΔE00 3.14
Dull Blue
#49759C
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FAB #AB7C40
analogous
#40A4AB #406FAB #4640AB
triadic
#406FAB #AB406F #6FAB40
tetradic
#406FAB #AB40A4 #AB7C40 #40AB46
square
#406FAB #AB40A4 #AB7C40 #40AB46
split-complementary
#406FAB #AB4640 #A4AB40
monochromatic
#1F3552 #2F527E #406FAB #638EC5 #90AED5
Accessibility & contrast
On white
5.15
#406FAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#406FAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FAB
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FAB | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #406fab; /* rgb */ color: rgb(64, 111, 171); /* oklch */ color: oklch(53.6% 0.108 255.3);
Tailwind
colors: {
custom: {
50: '#7f98c4',
500: '#406fab',
950: '#000000',
},
}SCSS
$custom: #406fab; $custom-light: #7f98c4; $custom-dark: #000000;
JSON
{
"hex": "#406fab",
"rgb": {
"r": 64,
"g": 111,
"b": 171
},
"hsl": {
"h": 213.645,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.53648,
"c": 0.10793,
"h": 255.3
},
"luminance": 0.15399
}Semantic roles & 50–950 ramp
primary
#406FAB
secondary
#C1A786
accent
#9C53D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81