#405BCF#405BCF
#405BCF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.182 H 269.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #405BCF |
|---|---|
| RGB | rgb(64, 91, 207) |
| HSL | hsl(229, 60%, 53%) |
| HSV | hsv(229, 69%, 81%) |
| CMYK | cmyk(69.1%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(42.88, 28.56, -63.04) |
| CIE-LCH | lch(42.88, 69.21, 294.38°) |
| OKLab | oklab(51.84% -0.0026 -0.1815) |
| OKLCH | oklch(51.84% 0.182 269.2) |
| XYZ | xyz(17.1141, 13.0755, 60.6413) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.95
Azul
#1D5DEC
ΔE00 3.79
Royal Blue
#4169E1
ΔE00 5.26
Iris
#6258C4
ΔE00 5.83
Electric Blue
#0652FF
ΔE00 5.86
Sapphire
#0F52BA
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BCF #CFB440
analogous
#40A3CF #405BCF #6C40CF
triadic
#405BCF #CF405B #5BCF40
tetradic
#405BCF #CF40A3 #CFB440 #40CF6C
square
#405BCF #CF40A3 #CFB440 #40CF6C
split-complementary
#405BCF #CF6C40 #A3CF40
monochromatic
#1E2F77 #2A42A8 #405BCF #7185DB #A2AFE8
Accessibility & contrast
On white
5.81
#405BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#405BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BCF
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BCF | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #405bcf; /* rgb */ color: rgb(64, 91, 207); /* oklch */ color: oklch(51.8% 0.182 269.2);
Tailwind
colors: {
custom: {
50: '#8689de',
500: '#405bcf',
950: '#000000',
},
}SCSS
$custom: #405bcf; $custom-light: #8689de; $custom-dark: #000000;
JSON
{
"hex": "#405bcf",
"rgb": {
"r": 64,
"g": 91,
"b": 207
},
"hsl": {
"h": 228.671,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.51839,
"c": 0.18156,
"h": 269.2
},
"luminance": 0.13077
}Semantic roles & 50–950 ramp
primary
#405BCF
secondary
#D4C997
accent
#C545E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83