#405A9B#405A9B
#405A9B is a mid, moderate blue. Relative luminance 0.108; OKLCH L 47.9% C 0.110 H 266.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #405A9B |
|---|---|
| RGB | rgb(64, 90, 155) |
| HSL | hsl(223, 42%, 43%) |
| HSV | hsv(223, 59%, 61%) |
| CMYK | cmyk(58.7%, 41.9%, 0%, 39.2%) |
| CIE-LAB | lab(39.19, 10.74, -38.47) |
| CIE-LCH | lch(39.19, 39.94, 285.61°) |
| OKLab | oklab(47.94% -0.0077 -0.1093) |
| OKLCH | oklch(47.94% 0.11 266) |
| XYZ | xyz(11.6849, 10.7679, 32.4667) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.96
Dusky Blue
#475F94
ΔE00 2.23
Dusk Blue
#26538D
ΔE00 4.76
Light Navy Blue
#2E5A88
ΔE00 5.05
Denim (survey)
#3B638C
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405A9B #9B8140
analogous
#40879B #405A9B #53409B
triadic
#405A9B #9B405A #5A9B40
tetradic
#405A9B #9B4087 #9B8140 #409B53
square
#405A9B #9B4087 #9B8140 #409B53
split-complementary
#405A9B #9B5340 #879B40
monochromatic
#1C2844 #2E4170 #405A9B #5C78BC #889CCE
Accessibility & contrast
On white
6.66
#405A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#405A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405A9B
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405A9B | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E619E
Deuteranopia (green-blind)
#32589A
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #405a9b; /* rgb */ color: rgb(64, 90, 155); /* oklch */ color: oklch(47.9% 0.110 266.0);
Tailwind
colors: {
custom: {
50: '#7c88b9',
500: '#405a9b',
950: '#000000',
},
}SCSS
$custom: #405a9b; $custom-light: #7c88b9; $custom-dark: #000000;
JSON
{
"hex": "#405a9b",
"rgb": {
"r": 64,
"g": 90,
"b": 155
},
"hsl": {
"h": 222.857,
"s": 41.553,
"l": 42.941
},
"oklch": {
"l": 0.47943,
"c": 0.10958,
"h": 266
},
"luminance": 0.10769
}Semantic roles & 50–950 ramp
primary
#405A9B
secondary
#B8A87E
accent
#AE56D1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80