#406FB7#406FB7
#406FB7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.4% C 0.124 H 258.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #406FB7 |
|---|---|
| RGB | rgb(64, 111, 183) |
| HSL | hsl(216, 48%, 48%) |
| HSV | hsv(216, 65%, 72%) |
| CMYK | cmyk(65%, 39.3%, 0%, 28.2%) |
| CIE-LAB | lab(46.81, 7.30, -42.85) |
| CIE-LCH | lch(46.81, 43.46, 279.66°) |
| OKLab | oklab(54.35% -0.0244 -0.1219) |
| OKLCH | oklch(54.35% 0.124 258.7) |
| XYZ | xyz(16.3430, 15.8762, 46.9937) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.96
Medium Blue
#2C6FBB
ΔE00 2.43
Mid Blue
#276AB3
ΔE00 3.29
Flat Blue
#3C73A8
ΔE00 3.40
Windows Blue
#3778BF
ΔE00 4.07
Muted Blue
#3B719F
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FB7 #B78840
analogous
#40AAB7 #406FB7 #4D40B7
triadic
#406FB7 #B7406F #6FB740
tetradic
#406FB7 #B740AA #B78840 #40B74D
square
#406FB7 #B740AA #B78840 #40B74D
split-complementary
#406FB7 #B74D40 #AAB740
monochromatic
#20385C #30538A #406FB7 #6990CB #97B2DB
Accessibility & contrast
On white
5.03
#406FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#406FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FB7
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FB7 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#3E6AB6
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #406fb7; /* rgb */ color: rgb(64, 111, 183); /* oklch */ color: oklch(54.4% 0.124 258.7);
Tailwind
colors: {
custom: {
50: '#8197cd',
500: '#406fb7',
950: '#000000',
},
}SCSS
$custom: #406fb7; $custom-light: #8197cd; $custom-dark: #000000;
JSON
{
"hex": "#406fb7",
"rgb": {
"r": 64,
"g": 111,
"b": 183
},
"hsl": {
"h": 216.303,
"s": 48.178,
"l": 48.431
},
"oklch": {
"l": 0.54353,
"c": 0.12431,
"h": 258.7
},
"luminance": 0.15878
}Semantic roles & 50–950 ramp
primary
#406FB7
secondary
#C6AF8D
accent
#A250D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82