#406FB2#406FB2
#406FB2 is a mid, moderate blue. Relative luminance 0.157; OKLCH L 54.1% C 0.117 H 257.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #406FB2 |
|---|---|
| RGB | rgb(64, 111, 178) |
| HSL | hsl(215, 47%, 47%) |
| HSV | hsv(215, 64%, 70%) |
| CMYK | cmyk(64%, 37.6%, 0%, 30.2%) |
| CIE-LAB | lab(46.54, 5.53, -40.37) |
| CIE-LCH | lch(46.54, 40.75, 277.81°) |
| OKLab | oklab(54.05% -0.0256 -0.1146) |
| OKLCH | oklch(54.05% 0.117 257.4) |
| XYZ | xyz(15.8318, 15.6717, 44.3015) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.81
Medium Blue
#2C6FBB
ΔE00 2.26
Flat Blue
#3C73A8
ΔE00 2.96
Mid Blue
#276AB3
ΔE00 2.98
Muted Blue
#3B719F
ΔE00 3.89
Windows Blue
#3778BF
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FB2 #B28340
analogous
#40A8B2 #406FB2 #4A40B2
triadic
#406FB2 #B2406F #6FB240
tetradic
#406FB2 #B240A8 #B28340 #40B24A
square
#406FB2 #B240A8 #B28340 #40B24A
split-complementary
#406FB2 #B24A40 #A8B240
monochromatic
#203758 #305385 #406FB2 #678FC8 #94B0D8
Accessibility & contrast
On white
5.08
#406FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#406FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FB2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FB2 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#4269B1
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #406fb2; /* rgb */ color: rgb(64, 111, 178); /* oklch */ color: oklch(54.1% 0.117 257.4);
Tailwind
colors: {
custom: {
50: '#8097c9',
500: '#406fb2',
950: '#000000',
},
}SCSS
$custom: #406fb2; $custom-light: #8097c9; $custom-dark: #000000;
JSON
{
"hex": "#406fb2",
"rgb": {
"r": 64,
"g": 111,
"b": 178
},
"hsl": {
"h": 215.263,
"s": 47.107,
"l": 47.451
},
"oklch": {
"l": 0.54054,
"c": 0.11746,
"h": 257.4
},
"luminance": 0.15673
}Semantic roles & 50–950 ramp
primary
#406FB2
secondary
#C4AC8A
accent
#A051D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82