#405FB1#405FB1
#405FB1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.5% C 0.135 H 266.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #405FB1 |
|---|---|
| RGB | rgb(64, 95, 177) |
| HSL | hsl(224, 47%, 47%) |
| HSV | hsv(224, 64%, 69%) |
| CMYK | cmyk(63.8%, 46.3%, 0%, 30.6%) |
| CIE-LAB | lab(41.92, 15.28, -47.15) |
| CIE-LCH | lch(41.92, 49.57, 287.96°) |
| OKLab | oklab(50.47% -0.0091 -0.1347) |
| OKLCH | oklch(50.47% 0.135 266.1) |
| XYZ | xyz(14.1396, 12.4475, 43.2439) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.17
Denim Blue
#3B5B92
ΔE00 4.36
Denim
#1560BD
ΔE00 4.39
French Blue
#436BAD
ΔE00 4.42
Sapphire
#0F52BA
ΔE00 5.17
Denim (survey)
#3B638C
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405FB1 #B19240
analogous
#4098B1 #405FB1 #5A40B1
triadic
#405FB1 #B1405F #5FB140
tetradic
#405FB1 #B14098 #B19240 #40B15A
square
#405FB1 #B14098 #B19240 #40B15A
split-complementary
#405FB1 #B15A40 #98B140
monochromatic
#1F2F57 #304784 #405FB1 #6681C8 #93A6D8
Accessibility & contrast
On white
6.02
#405FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#405FB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405FB1
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405FB1 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3768B4
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #405fb1; /* rgb */ color: rgb(64, 95, 177); /* oklch */ color: oklch(50.5% 0.135 266.1);
Tailwind
colors: {
custom: {
50: '#808cc9',
500: '#405fb1',
950: '#000000',
},
}SCSS
$custom: #405fb1; $custom-light: #808cc9; $custom-dark: #000000;
JSON
{
"hex": "#405fb1",
"rgb": {
"r": 64,
"g": 95,
"b": 177
},
"hsl": {
"h": 223.54,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.50466,
"c": 0.13506,
"h": 266.1
},
"luminance": 0.12449
}Semantic roles & 50–950 ramp
primary
#405FB1
secondary
#C3B489
accent
#B251D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82