#405AB9#405AB9
#405AB9 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.153 H 268.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #405AB9 |
|---|---|
| RGB | rgb(64, 90, 185) |
| HSL | hsl(227, 49%, 49%) |
| HSV | hsv(227, 65%, 73%) |
| CMYK | cmyk(65.4%, 51.4%, 0%, 27.5%) |
| CIE-LAB | lab(41.06, 21.36, -53.22) |
| CIE-LCH | lch(41.06, 57.34, 291.86°) |
| OKLab | oklab(49.98% -0.0032 -0.1527) |
| OKLCH | oklch(49.98% 0.153 268.8) |
| XYZ | xyz(14.5245, 11.9038, 47.4218) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 5.48
Denim
#1560BD
ΔE00 5.58
Dusky Blue
#475F94
ΔE00 5.58
Denim Blue
#3B5B92
ΔE00 5.60
Azul
#1D5DEC
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405AB9 #B99F40
analogous
#4097B9 #405AB9 #6340B9
triadic
#405AB9 #B9405A #5AB940
tetradic
#405AB9 #B94097 #B99F40 #40B963
square
#405AB9 #B94097 #B99F40 #40B963
split-complementary
#405AB9 #B96340 #97B940
monochromatic
#212E5E #30448C #405AB9 #6B7FCC #98A6DB
Accessibility & contrast
On white
6.21
#405AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#405AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405AB9
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405AB9 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2267BC
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #405ab9; /* rgb */ color: rgb(64, 90, 185); /* oklch */ color: oklch(50.0% 0.153 268.8);
Tailwind
colors: {
custom: {
50: '#8288cf',
500: '#405ab9',
950: '#000000',
},
}SCSS
$custom: #405ab9; $custom-light: #8288cf; $custom-dark: #000000;
JSON
{
"hex": "#405ab9",
"rgb": {
"r": 64,
"g": 90,
"b": 185
},
"hsl": {
"h": 227.107,
"s": 48.594,
"l": 48.824
},
"oklch": {
"l": 0.4998,
"c": 0.15269,
"h": 268.8
},
"luminance": 0.11905
}Semantic roles & 50–950 ramp
primary
#405AB9
secondary
#C7BB8E
accent
#BB50D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82