#406ABF#406ABF
#406ABF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.8% C 0.141 H 262.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #406ABF |
|---|---|
| RGB | rgb(64, 106, 191) |
| HSL | hsl(220, 50%, 50%) |
| HSV | hsv(220, 66%, 75%) |
| CMYK | cmyk(66.5%, 44.5%, 0%, 25.1%) |
| CIE-LAB | lab(45.85, 13.28, -49.02) |
| CIE-LCH | lch(45.85, 50.78, 285.16°) |
| OKLab | oklab(53.76% -0.0177 -0.1401) |
| OKLCH | oklch(53.76% 0.141 262.8) |
| XYZ | xyz(16.6690, 15.1580, 51.3274) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.18
Medium Blue
#2C6FBB
ΔE00 4.11
Mid Blue
#276AB3
ΔE00 4.25
Royal Blue
#4169E1
ΔE00 4.50
Denim
#1560BD
ΔE00 4.58
Cornflower Blue
#5170D7
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406ABF #BF9540
analogous
#40AABF #406ABF #5540BF
triadic
#406ABF #BF406A #6ABF40
tetradic
#406ABF #BF40AA #BF9540 #40BF55
square
#406ABF #BF40AA #BF9540 #40BF55
split-complementary
#406ABF #BF5540 #AABF40
monochromatic
#213763 #315191 #406ABF #6E8ECE #9CB2DE
Accessibility & contrast
On white
5.21
#406ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#406ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406ABF
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406ABF | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #406abf; /* rgb */ color: rgb(64, 106, 191); /* oklch */ color: oklch(53.8% 0.141 262.8);
Tailwind
colors: {
custom: {
50: '#8294d3',
500: '#406abf',
950: '#000000',
},
}SCSS
$custom: #406abf; $custom-light: #8294d3; $custom-dark: #000000;
JSON
{
"hex": "#406abf",
"rgb": {
"r": 64,
"g": 106,
"b": 191
},
"hsl": {
"h": 220.157,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.53758,
"c": 0.14119,
"h": 262.8
},
"luminance": 0.1516
}Semantic roles & 50–950 ramp
primary
#406ABF
secondary
#CAB791
accent
#AB4ED9
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83