#406CBB#406CBB
#406CBB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 53.9% C 0.133 H 261.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #406CBB |
|---|---|
| RGB | rgb(64, 108, 187) |
| HSL | hsl(219, 49%, 49%) |
| HSV | hsv(219, 66%, 73%) |
| CMYK | cmyk(65.8%, 42.2%, 0%, 26.7%) |
| CIE-LAB | lab(46.18, 10.59, -46.17) |
| CIE-LCH | lch(46.18, 47.37, 282.92°) |
| OKLab | oklab(53.94% -0.0205 -0.1317) |
| OKLCH | oklch(53.94% 0.133 261.2) |
| XYZ | xyz(16.4434, 15.4014, 49.1103) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.67
Medium Blue
#2C6FBB
ΔE00 3.33
Mid Blue
#276AB3
ΔE00 3.68
Flat Blue
#3C73A8
ΔE00 4.54
Denim
#1560BD
ΔE00 4.80
Cornflower Blue
#5170D7
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406CBB #BB8F40
analogous
#40AABB #406CBB #5240BB
triadic
#406CBB #BB406C #6CBB40
tetradic
#406CBB #BB40AA #BB8F40 #40BB52
square
#406CBB #BB40AA #BB8F40 #40BB52
split-complementary
#406CBB #BB5240 #AABB40
monochromatic
#213760 #30528D #406CBB #6C8ECD #99B1DC
Accessibility & contrast
On white
5.15
#406CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#406CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406CBB
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406CBB | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4774BE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #406cbb; /* rgb */ color: rgb(64, 108, 187); /* oklch */ color: oklch(53.9% 0.133 261.2);
Tailwind
colors: {
custom: {
50: '#8195d0',
500: '#406cbb',
950: '#000000',
},
}SCSS
$custom: #406cbb; $custom-light: #8195d0; $custom-dark: #000000;
JSON
{
"hex": "#406cbb",
"rgb": {
"r": 64,
"g": 108,
"b": 187
},
"hsl": {
"h": 218.537,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.53936,
"c": 0.13327,
"h": 261.2
},
"luminance": 0.15403
}Semantic roles & 50–950 ramp
primary
#406CBB
secondary
#C8B48F
accent
#A74FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82