#405BBF#405BBF
#405BBF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.160 H 268.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #405BBF |
|---|---|
| RGB | rgb(64, 91, 191) |
| HSL | hsl(227, 50%, 50%) |
| HSV | hsv(227, 66%, 75%) |
| CMYK | cmyk(66.5%, 52.4%, 0%, 25.1%) |
| CIE-LAB | lab(41.74, 22.85, -55.63) |
| CIE-LCH | lch(41.74, 60.14, 292.34°) |
| OKLab | oklab(50.62% -0.0036 -0.1597) |
| OKLCH | oklch(50.62% 0.16 268.7) |
| XYZ | xyz(15.2562, 12.3323, 50.8565) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.74
Warm Blue
#4B57DB
ΔE00 4.82
Denim
#1560BD
ΔE00 5.53
Azul
#1D5DEC
ΔE00 5.54
Dusky Blue
#475F94
ΔE00 6.18
Denim Blue
#3B5B92
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BBF #BFA440
analogous
#409BBF #405BBF #6440BF
triadic
#405BBF #BF405B #5BBF40
tetradic
#405BBF #BF409B #BFA440 #40BF64
square
#405BBF #BF409B #BFA440 #40BF64
split-complementary
#405BBF #BF6440 #9BBF40
monochromatic
#212F63 #314591 #405BBF #6E82CE #9CAADE
Accessibility & contrast
On white
6.06
#405BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#405BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BBF
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BBF | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B68C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #405bbf; /* rgb */ color: rgb(64, 91, 191); /* oklch */ color: oklch(50.6% 0.160 268.7);
Tailwind
colors: {
custom: {
50: '#8389d3',
500: '#405bbf',
950: '#000000',
},
}SCSS
$custom: #405bbf; $custom-light: #8389d3; $custom-dark: #000000;
JSON
{
"hex": "#405bbf",
"rgb": {
"r": 64,
"g": 91,
"b": 191
},
"hsl": {
"h": 227.244,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.50623,
"c": 0.15977,
"h": 268.7
},
"luminance": 0.12334
}Semantic roles & 50–950 ramp
primary
#405BBF
secondary
#CABE91
accent
#BC4ED9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83