#405BBA#405BBA
#405BBA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.153 H 268.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #405BBA |
|---|---|
| RGB | rgb(64, 91, 186) |
| HSL | hsl(227, 49%, 49%) |
| HSV | hsv(227, 66%, 73%) |
| CMYK | cmyk(65.6%, 51.1%, 0%, 27.1%) |
| CIE-LAB | lab(41.40, 21.07, -53.26) |
| CIE-LCH | lch(41.40, 57.27, 291.58°) |
| OKLab | oklab(50.26% -0.004 -0.1528) |
| OKLCH | oklch(50.26% 0.153 268.5) |
| XYZ | xyz(14.7153, 12.1160, 48.0080) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.57
Denim
#1560BD
ΔE00 5.36
Warm Blue
#4B57DB
ΔE00 5.47
Dusky Blue
#475F94
ΔE00 5.57
Denim Blue
#3B5B92
ΔE00 5.64
Azul
#1D5DEC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BBA #BA9F40
analogous
#4098BA #405BBA #6240BA
triadic
#405BBA #BA405B #5BBA40
tetradic
#405BBA #BA4098 #BA9F40 #40BA62
square
#405BBA #BA4098 #BA9F40 #40BA62
split-complementary
#405BBA #BA6240 #98BA40
monochromatic
#212E5F #30458C #405BBA #6B81CC #99A7DC
Accessibility & contrast
On white
6.13
#405BBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#405BBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BBA
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BBA | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2467BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #405bba; /* rgb */ color: rgb(64, 91, 186); /* oklch */ color: oklch(50.3% 0.153 268.5);
Tailwind
colors: {
custom: {
50: '#8289cf',
500: '#405bba',
950: '#000000',
},
}SCSS
$custom: #405bba; $custom-light: #8289cf; $custom-dark: #000000;
JSON
{
"hex": "#405bba",
"rgb": {
"r": 64,
"g": 91,
"b": 186
},
"hsl": {
"h": 226.721,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.50257,
"c": 0.15281,
"h": 268.5
},
"luminance": 0.12117
}Semantic roles & 50–950 ramp
primary
#405BBA
secondary
#C8BB8E
accent
#BA4FD8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82