#405BBD#405BBD
#405BBD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.157 H 268.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #405BBD |
|---|---|
| RGB | rgb(64, 91, 189) |
| HSL | hsl(227, 49%, 50%) |
| HSV | hsv(227, 66%, 74%) |
| CMYK | cmyk(66.1%, 51.9%, 0%, 25.9%) |
| CIE-LAB | lab(41.60, 22.14, -54.68) |
| CIE-LCH | lch(41.60, 58.99, 292.04°) |
| OKLab | oklab(50.48% -0.0037 -0.1569) |
| OKLCH | oklch(50.48% 0.157 268.6) |
| XYZ | xyz(15.0376, 12.2449, 49.7053) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.66
Warm Blue
#4B57DB
ΔE00 5.08
Denim
#1560BD
ΔE00 5.45
Azul
#1D5DEC
ΔE00 5.78
Dusky Blue
#475F94
ΔE00 5.94
Denim Blue
#3B5B92
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BBD #BDA240
analogous
#409ABD #405BBD #6440BD
triadic
#405BBD #BD405B #5BBD40
tetradic
#405BBD #BD409A #BDA240 #40BD64
square
#405BBD #BD409A #BDA240 #40BD64
split-complementary
#405BBD #BD6440 #9ABD40
monochromatic
#212F62 #31458F #405BBD #6D82CD #9AA9DD
Accessibility & contrast
On white
6.09
#405BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#405BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BBD
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BBD | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #405bbd; /* rgb */ color: rgb(64, 91, 189); /* oklch */ color: oklch(50.5% 0.157 268.6);
Tailwind
colors: {
custom: {
50: '#8289d1',
500: '#405bbd',
950: '#000000',
},
}SCSS
$custom: #405bbd; $custom-light: #8289d1; $custom-dark: #000000;
JSON
{
"hex": "#405bbd",
"rgb": {
"r": 64,
"g": 91,
"b": 189
},
"hsl": {
"h": 227.04,
"s": 49.407,
"l": 49.608
},
"oklch": {
"l": 0.50476,
"c": 0.15699,
"h": 268.6
},
"luminance": 0.12246
}Semantic roles & 50–950 ramp
primary
#405BBD
secondary
#C9BD90
accent
#BB4FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82