#405BBB#405BBB
#405BBB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.154 H 268.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #405BBB |
|---|---|
| RGB | rgb(64, 91, 187) |
| HSL | hsl(227, 49%, 49%) |
| HSV | hsv(227, 66%, 73%) |
| CMYK | cmyk(65.8%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(41.47, 21.43, -53.73) |
| CIE-LCH | lch(41.47, 57.85, 291.74°) |
| OKLab | oklab(50.33% -0.0039 -0.1542) |
| OKLCH | oklch(50.33% 0.154 268.5) |
| XYZ | xyz(14.8220, 12.1586, 48.5698) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.59
Warm Blue
#4B57DB
ΔE00 5.34
Denim
#1560BD
ΔE00 5.39
Dusky Blue
#475F94
ΔE00 5.70
Denim Blue
#3B5B92
ΔE00 5.76
Azul
#1D5DEC
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BBB #BBA040
analogous
#4099BB #405BBB #6340BB
triadic
#405BBB #BB405B #5BBB40
tetradic
#405BBB #BB4099 #BBA040 #40BB63
square
#405BBB #BB4099 #BBA040 #40BB63
split-complementary
#405BBB #BB6340 #99BB40
monochromatic
#212F60 #30458D #405BBB #6C81CD #99A8DC
Accessibility & contrast
On white
6.12
#405BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#405BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BBB
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BBB | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #405bbb; /* rgb */ color: rgb(64, 91, 187); /* oklch */ color: oklch(50.3% 0.154 268.5);
Tailwind
colors: {
custom: {
50: '#8289d0',
500: '#405bbb',
950: '#000000',
},
}SCSS
$custom: #405bbb; $custom-light: #8289d0; $custom-dark: #000000;
JSON
{
"hex": "#405bbb",
"rgb": {
"r": 64,
"g": 91,
"b": 187
},
"hsl": {
"h": 226.829,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.5033,
"c": 0.15421,
"h": 268.5
},
"luminance": 0.1216
}Semantic roles & 50–950 ramp
primary
#405BBB
secondary
#C8BB8F
accent
#BA4FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82