#405CBD#405CBD
#405CBD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.156 H 268.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #405CBD |
|---|---|
| RGB | rgb(64, 92, 189) |
| HSL | hsl(227, 49%, 50%) |
| HSV | hsv(227, 66%, 74%) |
| CMYK | cmyk(66.1%, 51.3%, 0%, 25.9%) |
| CIE-LAB | lab(41.87, 21.50, -54.25) |
| CIE-LCH | lch(41.87, 58.35, 291.62°) |
| OKLab | oklab(50.68% -0.0047 -0.1557) |
| OKLCH | oklch(50.68% 0.156 268.3) |
| XYZ | xyz(15.1237, 12.4170, 49.7340) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.77
Denim
#1560BD
ΔE00 5.23
Warm Blue
#4B57DB
ΔE00 5.23
Azul
#1D5DEC
ΔE00 5.71
Dusky Blue
#475F94
ΔE00 5.84
French Blue
#436BAD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405CBD #BDA140
analogous
#409BBD #405CBD #6340BD
triadic
#405CBD #BD405C #5CBD40
tetradic
#405CBD #BD409B #BDA140 #40BD63
square
#405CBD #BD409B #BDA140 #40BD63
split-complementary
#405CBD #BD6340 #9BBD40
monochromatic
#212F62 #31468F #405CBD #6D82CD #9AA9DD
Accessibility & contrast
On white
6.03
#405CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#405CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405CBD
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405CBD | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2269C0
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #405cbd; /* rgb */ color: rgb(64, 92, 189); /* oklch */ color: oklch(50.7% 0.156 268.3);
Tailwind
colors: {
custom: {
50: '#8289d1',
500: '#405cbd',
950: '#000000',
},
}SCSS
$custom: #405cbd; $custom-light: #8289d1; $custom-dark: #000000;
JSON
{
"hex": "#405cbd",
"rgb": {
"r": 64,
"g": 92,
"b": 189
},
"hsl": {
"h": 226.56,
"s": 49.407,
"l": 49.608
},
"oklch": {
"l": 0.50679,
"c": 0.15573,
"h": 268.3
},
"luminance": 0.12418
}Semantic roles & 50–950 ramp
primary
#405CBD
secondary
#C9BC90
accent
#BA4FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82