#406BAF#406BAF
#406BAF is a mid, moderate blue. Relative luminance 0.147; OKLCH L 53.0% C 0.118 H 259.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #406BAF |
|---|---|
| RGB | rgb(64, 107, 175) |
| HSL | hsl(217, 46%, 47%) |
| HSV | hsv(217, 63%, 69%) |
| CMYK | cmyk(63.4%, 38.9%, 0%, 31.4%) |
| CIE-LAB | lab(45.22, 6.97, -40.72) |
| CIE-LCH | lch(45.22, 41.31, 279.71°) |
| OKLab | oklab(52.97% -0.022 -0.1157) |
| OKLCH | oklch(52.97% 0.118 259.2) |
| XYZ | xyz(15.1072, 14.6991, 42.5902) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 0.50
Mid Blue
#276AB3
ΔE00 3.01
Medium Blue
#2C6FBB
ΔE00 3.25
Flat Blue
#3C73A8
ΔE00 4.10
Denim
#1560BD
ΔE00 4.48
Muted Blue
#3B719F
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BAF #AF8440
analogous
#40A3AF #406BAF #4D40AF
triadic
#406BAF #AF406B #6BAF40
tetradic
#406BAF #AF40A3 #AF8440 #40AF4D
square
#406BAF #AF40A3 #AF8440 #40AF4D
split-complementary
#406BAF #AF4D40 #A3AF40
monochromatic
#1F3455 #305082 #406BAF #658BC7 #92ADD7
Accessibility & contrast
On white
5.33
#406BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#406BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BAF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BAF | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D71B2
Deuteranopia (green-blind)
#3E66AE
Tritanopia (blue-blind)
#007A84
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #406baf; /* rgb */ color: rgb(64, 107, 175); /* oklch */ color: oklch(53.0% 0.118 259.2);
Tailwind
colors: {
custom: {
50: '#7f95c7',
500: '#406baf',
950: '#000000',
},
}SCSS
$custom: #406baf; $custom-light: #7f95c7; $custom-dark: #000000;
JSON
{
"hex": "#406baf",
"rgb": {
"r": 64,
"g": 107,
"b": 175
},
"hsl": {
"h": 216.757,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.52974,
"c": 0.11778,
"h": 259.2
},
"luminance": 0.14701
}Semantic roles & 50–950 ramp
primary
#406BAF
secondary
#C3AC88
accent
#A352D6
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82