#406FC0#406FC0
#406FC0 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 54.9% C 0.137 H 260.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #406FC0 |
|---|---|
| RGB | rgb(64, 111, 192) |
| HSL | hsl(218, 50%, 50%) |
| HSV | hsv(218, 67%, 75%) |
| CMYK | cmyk(66.7%, 42.2%, 0%, 24.7%) |
| CIE-LAB | lab(47.32, 10.49, -47.25) |
| CIE-LCH | lch(47.32, 48.40, 282.52°) |
| OKLab | oklab(54.91% -0.0225 -0.1348) |
| OKLCH | oklch(54.91% 0.137 260.5) |
| XYZ | xyz(17.3098, 16.2629, 52.0858) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.63
Medium Blue
#2C6FBB
ΔE00 3.01
Mid Blue
#276AB3
ΔE00 4.02
Flat Blue
#3C73A8
ΔE00 4.21
Windows Blue
#3778BF
ΔE00 4.28
Cornflower Blue
#5170D7
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FC0 #C09140
analogous
#40AFC0 #406FC0 #5140C0
triadic
#406FC0 #C0406F #6FC040
tetradic
#406FC0 #C040AF #C09140 #40C051
square
#406FC0 #C040AF #C09140 #40C051
split-complementary
#406FC0 #C05140 #AFC040
monochromatic
#213A64 #305492 #406FC0 #6E92CF #9CB4DE
Accessibility & contrast
On white
4.94
#406FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#406FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FC0
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FC0 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4977C3
Deuteranopia (green-blind)
#356BBE
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #406fc0; /* rgb */ color: rgb(64, 111, 192); /* oklch */ color: oklch(54.9% 0.137 260.5);
Tailwind
colors: {
custom: {
50: '#8297d3',
500: '#406fc0',
950: '#000000',
},
}SCSS
$custom: #406fc0; $custom-light: #8297d3; $custom-dark: #000000;
JSON
{
"hex": "#406fc0",
"rgb": {
"r": 64,
"g": 111,
"b": 192
},
"hsl": {
"h": 217.969,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.54909,
"c": 0.13666,
"h": 260.5
},
"luminance": 0.16265
}Semantic roles & 50–950 ramp
primary
#406FC0
secondary
#CBB591
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83