#405CA3#405CA3
#405CA3 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.9% C 0.119 H 266.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #405CA3 |
|---|---|
| RGB | rgb(64, 92, 163) |
| HSL | hsl(223, 44%, 45%) |
| HSV | hsv(223, 61%, 64%) |
| CMYK | cmyk(60.7%, 43.6%, 0%, 36.1%) |
| CIE-LAB | lab(40.23, 12.26, -41.59) |
| CIE-LCH | lch(40.23, 43.35, 286.42°) |
| OKLab | oklab(48.89% -0.0084 -0.1184) |
| OKLCH | oklch(48.89% 0.119 266) |
| XYZ | xyz(12.5501, 11.3876, 36.1799) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.62
Dusky Blue
#475F94
ΔE00 2.66
Denim (survey)
#3B638C
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.26
Denim
#1560BD
ΔE00 5.37
Dusk Blue
#26538D
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405CA3 #A38740
analogous
#408EA3 #405CA3 #5640A3
triadic
#405CA3 #A3405C #5CA340
tetradic
#405CA3 #A3408E #A38740 #40A356
square
#405CA3 #A3408E #A38740 #40A356
split-complementary
#405CA3 #A35640 #8EA340
monochromatic
#1D2A4B #2F4377 #405CA3 #607BC0 #8C9FD2
Accessibility & contrast
On white
6.41
#405CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#405CA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405CA3
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405CA3 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C64A6
Deuteranopia (green-blind)
#2E5BA1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #405ca3; /* rgb */ color: rgb(64, 92, 163); /* oklch */ color: oklch(48.9% 0.119 266.0);
Tailwind
colors: {
custom: {
50: '#7e89bf',
500: '#405ca3',
950: '#000000',
},
}SCSS
$custom: #405ca3; $custom-light: #7e89bf; $custom-dark: #000000;
JSON
{
"hex": "#405ca3",
"rgb": {
"r": 64,
"g": 92,
"b": 163
},
"hsl": {
"h": 223.03,
"s": 43.612,
"l": 44.51
},
"oklch": {
"l": 0.48894,
"c": 0.11874,
"h": 266
},
"luminance": 0.11389
}Semantic roles & 50–950 ramp
primary
#405CA3
secondary
#BDAC82
accent
#AF54D3
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0B12
muted
#7C7C81