#406BB1#406BB1
#406BB1 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.1% C 0.121 H 259.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #406BB1 |
|---|---|
| RGB | rgb(64, 107, 177) |
| HSL | hsl(217, 47%, 47%) |
| HSV | hsv(217, 64%, 69%) |
| CMYK | cmyk(63.8%, 39.5%, 0%, 30.6%) |
| CIE-LAB | lab(45.33, 7.67, -41.71) |
| CIE-LCH | lch(45.33, 42.41, 280.42°) |
| OKLab | oklab(53.1% -0.0216 -0.1186) |
| OKLCH | oklch(53.1% 0.121 259.7) |
| XYZ | xyz(15.3050, 14.7783, 43.6324) |
| Luminance | 0.1478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 0.58
Mid Blue
#276AB3
ΔE00 3.11
Medium Blue
#2C6FBB
ΔE00 3.28
Flat Blue
#3C73A8
ΔE00 4.21
Denim
#1560BD
ΔE00 4.46
Muted Blue
#3B719F
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BB1 #B18640
analogous
#40A4B1 #406BB1 #4D40B1
triadic
#406BB1 #B1406B #6BB140
tetradic
#406BB1 #B140A4 #B18640 #40B14D
square
#406BB1 #B140A4 #B18640 #40B14D
split-complementary
#406BB1 #B14D40 #A4B140
monochromatic
#1F3557 #305084 #406BB1 #668BC8 #93ADD8
Accessibility & contrast
On white
5.31
#406BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#406BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BB1
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BB1 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#3C66B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #406bb1; /* rgb */ color: rgb(64, 107, 177); /* oklch */ color: oklch(53.1% 0.121 259.7);
Tailwind
colors: {
custom: {
50: '#8094c9',
500: '#406bb1',
950: '#000000',
},
}SCSS
$custom: #406bb1; $custom-light: #8094c9; $custom-dark: #000000;
JSON
{
"hex": "#406bb1",
"rgb": {
"r": 64,
"g": 107,
"b": 177
},
"hsl": {
"h": 217.168,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.53095,
"c": 0.12056,
"h": 259.7
},
"luminance": 0.1478
}Semantic roles & 50–950 ramp
primary
#406BB1
secondary
#C3AD89
accent
#A451D7
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82