#406FB8#406FB8
#406FB8 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.4% C 0.126 H 258.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #406FB8 |
|---|---|
| RGB | rgb(64, 111, 184) |
| HSL | hsl(217, 48%, 49%) |
| HSV | hsv(217, 65%, 72%) |
| CMYK | cmyk(65.2%, 39.7%, 0%, 27.8%) |
| CIE-LAB | lab(46.87, 7.65, -43.34) |
| CIE-LCH | lch(46.87, 44.01, 280.01°) |
| OKLab | oklab(54.41% -0.0242 -0.1233) |
| OKLCH | oklch(54.41% 0.126 258.9) |
| XYZ | xyz(16.4474, 15.9180, 47.5438) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.01
Medium Blue
#2C6FBB
ΔE00 2.48
Mid Blue
#276AB3
ΔE00 3.36
Flat Blue
#3C73A8
ΔE00 3.49
Windows Blue
#3778BF
ΔE00 4.08
Muted Blue
#3B719F
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FB8 #B88940
analogous
#40ABB8 #406FB8 #4D40B8
triadic
#406FB8 #B8406F #6FB840
tetradic
#406FB8 #B840AB #B88940 #40B84D
square
#406FB8 #B840AB #B88940 #40B84D
split-complementary
#406FB8 #B84D40 #ABB840
monochromatic
#20385D #30548B #406FB8 #6A90CB #97B2DB
Accessibility & contrast
On white
5.02
#406FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#406FB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FB8
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FB8 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E75BB
Deuteranopia (green-blind)
#3D6AB6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #406fb8; /* rgb */ color: rgb(64, 111, 184); /* oklch */ color: oklch(54.4% 0.126 258.9);
Tailwind
colors: {
custom: {
50: '#8197ce',
500: '#406fb8',
950: '#000000',
},
}SCSS
$custom: #406fb8; $custom-light: #8197ce; $custom-dark: #000000;
JSON
{
"hex": "#406fb8",
"rgb": {
"r": 64,
"g": 111,
"b": 184
},
"hsl": {
"h": 216.5,
"s": 48.387,
"l": 48.627
},
"oklch": {
"l": 0.54413,
"c": 0.12568,
"h": 258.9
},
"luminance": 0.1592
}Semantic roles & 50–950 ramp
primary
#406FB8
secondary
#C7B08D
accent
#A350D8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82