#406BBF#406BBF
#406BBF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.0% C 0.140 H 262.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #406BBF |
|---|---|
| RGB | rgb(64, 107, 191) |
| HSL | hsl(220, 50%, 50%) |
| HSV | hsv(220, 66%, 75%) |
| CMYK | cmyk(66.5%, 44%, 0%, 25.1%) |
| CIE-LAB | lab(46.13, 12.65, -48.57) |
| CIE-LCH | lch(46.13, 50.19, 284.60°) |
| OKLab | oklab(53.97% -0.0187 -0.1387) |
| OKLCH | oklch(53.97% 0.14 262.3) |
| XYZ | xyz(16.7727, 15.3653, 51.3620) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.12
Medium Blue
#2C6FBB
ΔE00 3.83
Mid Blue
#276AB3
ΔE00 4.12
Royal Blue
#4169E1
ΔE00 4.56
Cornflower Blue
#5170D7
ΔE00 4.61
Denim
#1560BD
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BBF #BF9440
analogous
#40ABBF #406BBF #5440BF
triadic
#406BBF #BF406B #6BBF40
tetradic
#406BBF #BF40AB #BF9440 #40BF54
square
#406BBF #BF40AB #BF9440 #40BF54
split-complementary
#406BBF #BF5440 #ABBF40
monochromatic
#213863 #315191 #406BBF #6E8FCE #9CB2DE
Accessibility & contrast
On white
5.16
#406BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#406BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BBF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BBF | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #406bbf; /* rgb */ color: rgb(64, 107, 191); /* oklch */ color: oklch(54.0% 0.140 262.3);
Tailwind
colors: {
custom: {
50: '#8294d3',
500: '#406bbf',
950: '#000000',
},
}SCSS
$custom: #406bbf; $custom-light: #8294d3; $custom-dark: #000000;
JSON
{
"hex": "#406bbf",
"rgb": {
"r": 64,
"g": 107,
"b": 191
},
"hsl": {
"h": 219.685,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.53974,
"c": 0.13999,
"h": 262.3
},
"luminance": 0.15367
}Semantic roles & 50–950 ramp
primary
#406BBF
secondary
#CAB791
accent
#AA4ED9
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83