#406FC3#406FC3
#406FC3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.1% C 0.141 H 261.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #406FC3 |
|---|---|
| RGB | rgb(64, 111, 195) |
| HSL | hsl(218, 52%, 51%) |
| HSV | hsv(218, 67%, 76%) |
| CMYK | cmyk(67.2%, 43.1%, 0%, 23.5%) |
| CIE-LAB | lab(47.49, 11.57, -48.70) |
| CIE-LCH | lch(47.49, 50.05, 283.36°) |
| OKLab | oklab(55.1% -0.0219 -0.1391) |
| OKLCH | oklch(55.1% 0.141 261.1) |
| XYZ | xyz(17.6456, 16.3972, 53.8542) |
| Luminance | 0.1640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.92
Medium Blue
#2C6FBB
ΔE00 3.26
Cornflower Blue
#5170D7
ΔE00 4.19
Mid Blue
#276AB3
ΔE00 4.30
Windows Blue
#3778BF
ΔE00 4.40
Flat Blue
#3C73A8
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FC3 #C39440
analogous
#40B0C3 #406FC3 #5240C3
triadic
#406FC3 #C3406F #6FC340
tetradic
#406FC3 #C340B0 #C39440 #40C352
square
#406FC3 #C340B0 #C39440 #40C352
split-complementary
#406FC3 #C35240 #B0C340
monochromatic
#213A68 #2F5497 #406FC3 #6F92D2 #9DB5E0
Accessibility & contrast
On white
4.91
#406FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#406FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406FC3
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FC3 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4777C6
Deuteranopia (green-blind)
#316BC1
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #406fc3; /* rgb */ color: rgb(64, 111, 195); /* oklch */ color: oklch(55.1% 0.141 261.1);
Tailwind
colors: {
custom: {
50: '#8397d6',
500: '#406fc3',
950: '#000000',
},
}SCSS
$custom: #406fc3; $custom-light: #8397d6; $custom-dark: #000000;
JSON
{
"hex": "#406fc3",
"rgb": {
"r": 64,
"g": 111,
"b": 195
},
"hsl": {
"h": 218.473,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.55099,
"c": 0.14077,
"h": 261.1
},
"luminance": 0.16399
}Semantic roles & 50–950 ramp
primary
#406FC3
secondary
#CCB892
accent
#A84CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83