#406CAF#406CAF
#406CAF is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.2% C 0.117 H 258.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #406CAF |
|---|---|
| RGB | rgb(64, 108, 175) |
| HSL | hsl(216, 46%, 47%) |
| HSV | hsv(216, 63%, 69%) |
| CMYK | cmyk(63.4%, 38.3%, 0%, 31.4%) |
| CIE-LAB | lab(45.51, 6.34, -40.26) |
| CIE-LCH | lch(45.51, 40.75, 278.95°) |
| OKLab | oklab(53.2% -0.0231 -0.1143) |
| OKLCH | oklch(53.2% 0.117 258.6) |
| XYZ | xyz(15.2120, 14.9088, 42.6252) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 0.74
Mid Blue
#276AB3
ΔE00 2.89
Medium Blue
#2C6FBB
ΔE00 2.95
Flat Blue
#3C73A8
ΔE00 3.75
Muted Blue
#3B719F
ΔE00 4.32
Denim
#1560BD
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406CAF #AF8340
analogous
#40A4AF #406CAF #4B40AF
triadic
#406CAF #AF406C #6CAF40
tetradic
#406CAF #AF40A4 #AF8340 #40AF4B
square
#406CAF #AF40A4 #AF8340 #40AF4B
split-complementary
#406CAF #AF4B40 #A4AF40
monochromatic
#1F3555 #305082 #406CAF #658CC7 #92AED7
Accessibility & contrast
On white
5.27
#406CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#406CAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406CAF
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406CAF | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F71B2
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #406caf; /* rgb */ color: rgb(64, 108, 175); /* oklch */ color: oklch(53.2% 0.117 258.6);
Tailwind
colors: {
custom: {
50: '#7f95c7',
500: '#406caf',
950: '#000000',
},
}SCSS
$custom: #406caf; $custom-light: #7f95c7; $custom-dark: #000000;
JSON
{
"hex": "#406caf",
"rgb": {
"r": 64,
"g": 108,
"b": 175
},
"hsl": {
"h": 216.216,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.53199,
"c": 0.11665,
"h": 258.6
},
"luminance": 0.1491
}Semantic roles & 50–950 ramp
primary
#406CAF
secondary
#C3AB88
accent
#A252D6
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82