#405FDA#405FDA
#405FDA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.191 H 268.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #405FDA |
|---|---|
| RGB | rgb(64, 95, 218) |
| HSL | hsl(228, 68%, 55%) |
| HSV | hsv(228, 71%, 85%) |
| CMYK | cmyk(70.6%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(44.71, 29.94, -66.36) |
| CIE-LCH | lch(44.71, 72.80, 294.29°) |
| OKLab | oklab(53.47% -0.0053 -0.1912) |
| OKLCH | oklch(53.47% 0.191 268.4) |
| XYZ | xyz(18.8571, 14.3344, 68.0891) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.62
Warm Blue
#4B57DB
ΔE00 3.26
Royal Blue
#4169E1
ΔE00 3.53
Bright Blue
#0165FC
ΔE00 4.82
Electric Blue
#0652FF
ΔE00 5.36
Dark Periwinkle
#665FD1
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405FDA #DABB40
analogous
#40ACDA #405FDA #6E40DA
triadic
#405FDA #DA405F #5FDA40
tetradic
#405FDA #DA40AC #DABB40 #40DA6E
square
#405FDA #DA40AC #DABB40 #40DA6E
split-complementary
#405FDA #DA6E40 #ACDA40
monochromatic
#1A3086 #2442B9 #405FDA #738AE4 #A7B5EE
Accessibility & contrast
On white
5.43
#405FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#405FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405FDA
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405FDA | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #405fda; /* rgb */ color: rgb(64, 95, 218); /* oklch */ color: oklch(53.5% 0.191 268.4);
Tailwind
colors: {
custom: {
50: '#888ce6',
500: '#405fda',
950: '#000000',
},
}SCSS
$custom: #405fda; $custom-light: #888ce6; $custom-dark: #000000;
JSON
{
"hex": "#405fda",
"rgb": {
"r": 64,
"g": 95,
"b": 218
},
"hsl": {
"h": 227.922,
"s": 67.544,
"l": 55.294
},
"oklch": {
"l": 0.53466,
"c": 0.19132,
"h": 268.4
},
"luminance": 0.14336
}Semantic roles & 50–950 ramp
primary
#405FDA
secondary
#DBCE9B
accent
#C83DEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84