#405DC0#405DC0
#405DC0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.159 H 268.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #405DC0 |
|---|---|
| RGB | rgb(64, 93, 192) |
| HSL | hsl(226, 50%, 50%) |
| HSV | hsv(226, 67%, 75%) |
| CMYK | cmyk(66.7%, 51.6%, 0%, 24.7%) |
| CIE-LAB | lab(42.34, 21.93, -55.23) |
| CIE-LCH | lch(42.34, 59.43, 291.65°) |
| OKLab | oklab(51.1% -0.0053 -0.1585) |
| OKLCH | oklch(51.1% 0.159 268.1) |
| XYZ | xyz(15.5399, 12.7230, 51.4958) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 5.03
Warm Blue
#4B57DB
ΔE00 5.03
Denim
#1560BD
ΔE00 5.14
Azul
#1D5DEC
ΔE00 5.30
French Blue
#436BAD
ΔE00 5.76
Royal Blue
#4169E1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405DC0 #C0A340
analogous
#409DC0 #405DC0 #6340C0
triadic
#405DC0 #C0405D #5DC040
tetradic
#405DC0 #C0409D #C0A340 #40C063
square
#405DC0 #C0409D #C0A340 #40C063
split-complementary
#405DC0 #C06340 #9DC040
monochromatic
#213064 #304792 #405DC0 #6E84CF #9CABDE
Accessibility & contrast
On white
5.92
#405DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#405DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405DC0
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405DC0 | 1.00 | 5.92 | 3.54 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216AC4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #405dc0; /* rgb */ color: rgb(64, 93, 192); /* oklch */ color: oklch(51.1% 0.159 268.1);
Tailwind
colors: {
custom: {
50: '#838ad4',
500: '#405dc0',
950: '#000000',
},
}SCSS
$custom: #405dc0; $custom-light: #838ad4; $custom-dark: #000000;
JSON
{
"hex": "#405dc0",
"rgb": {
"r": 64,
"g": 93,
"b": 192
},
"hsl": {
"h": 226.406,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.51101,
"c": 0.15864,
"h": 268.1
},
"luminance": 0.12724
}Semantic roles & 50–950 ramp
primary
#405DC0
secondary
#CBBE91
accent
#BA4EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83