#406BB7#406BB7
#406BB7 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.5% C 0.129 H 260.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #406BB7 |
|---|---|
| RGB | rgb(64, 107, 183) |
| HSL | hsl(218, 48%, 48%) |
| HSV | hsv(218, 65%, 72%) |
| CMYK | cmyk(65%, 41.5%, 0%, 28.2%) |
| CIE-LAB | lab(45.67, 9.80, -44.67) |
| CIE-LCH | lch(45.67, 45.73, 282.37°) |
| OKLab | oklab(53.46% -0.0203 -0.1273) |
| OKLCH | oklch(53.46% 0.129 260.9) |
| XYZ | xyz(15.9163, 15.0228, 46.8515) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.17
Medium Blue
#2C6FBB
ΔE00 3.44
Mid Blue
#276AB3
ΔE00 3.49
Denim
#1560BD
ΔE00 4.51
Flat Blue
#3C73A8
ΔE00 4.57
Muted Blue
#3B719F
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BB7 #B78C40
analogous
#40A6B7 #406BB7 #5040B7
triadic
#406BB7 #B7406B #6BB740
tetradic
#406BB7 #B740A6 #B78C40 #40B750
square
#406BB7 #B740A6 #B78C40 #40B750
split-complementary
#406BB7 #B75040 #A6B740
monochromatic
#20365C #30508A #406BB7 #698DCB #97AFDB
Accessibility & contrast
On white
5.24
#406BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#406BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BB7
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BB7 | 1.00 | 5.24 | 4.00 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#3667B5
Tritanopia (blue-blind)
#007C88
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #406bb7; /* rgb */ color: rgb(64, 107, 183); /* oklch */ color: oklch(53.5% 0.129 260.9);
Tailwind
colors: {
custom: {
50: '#8194cd',
500: '#406bb7',
950: '#000000',
},
}SCSS
$custom: #406bb7; $custom-light: #8194cd; $custom-dark: #000000;
JSON
{
"hex": "#406bb7",
"rgb": {
"r": 64,
"g": 107,
"b": 183
},
"hsl": {
"h": 218.319,
"s": 48.178,
"l": 48.431
},
"oklch": {
"l": 0.53464,
"c": 0.1289,
"h": 260.9
},
"luminance": 0.15024
}Semantic roles & 50–950 ramp
primary
#406BB7
secondary
#C6B18D
accent
#A750D8
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82