#405AB1#405AB1
#405AB1 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.141 H 268.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #405AB1 |
|---|---|
| RGB | rgb(64, 90, 177) |
| HSL | hsl(226, 47%, 47%) |
| HSV | hsv(226, 64%, 69%) |
| CMYK | cmyk(63.8%, 49.2%, 0%, 30.6%) |
| CIE-LAB | lab(40.53, 18.50, -49.38) |
| CIE-LCH | lch(40.53, 52.73, 290.54°) |
| OKLab | oklab(49.41% -0.0041 -0.1414) |
| OKLCH | oklch(49.41% 0.141 268.3) |
| XYZ | xyz(13.7036, 11.5754, 43.0986) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.43
Denim Blue
#3B5B92
ΔE00 4.60
Dusky Blue
#475F94
ΔE00 4.62
Denim
#1560BD
ΔE00 5.49
French Blue
#436BAD
ΔE00 6.23
Denim (survey)
#3B638C
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405AB1 #B19740
analogous
#4092B1 #405AB1 #5F40B1
triadic
#405AB1 #B1405A #5AB140
tetradic
#405AB1 #B14092 #B19740 #40B15F
square
#405AB1 #B14092 #B19740 #40B15F
split-complementary
#405AB1 #B15F40 #92B140
monochromatic
#1F2C57 #304384 #405AB1 #667DC8 #93A3D8
Accessibility & contrast
On white
6.33
#405AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#405AB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405AB1
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405AB1 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C65B4
Deuteranopia (green-blind)
#135BAF
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #405ab1; /* rgb */ color: rgb(64, 90, 177); /* oklch */ color: oklch(49.4% 0.141 268.3);
Tailwind
colors: {
custom: {
50: '#8088c9',
500: '#405ab1',
950: '#000000',
},
}SCSS
$custom: #405ab1; $custom-light: #8088c9; $custom-dark: #000000;
JSON
{
"hex": "#405ab1",
"rgb": {
"r": 64,
"g": 90,
"b": 177
},
"hsl": {
"h": 226.195,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.49409,
"c": 0.14142,
"h": 268.3
},
"luminance": 0.11577
}Semantic roles & 50–950 ramp
primary
#405AB1
secondary
#C3B689
accent
#B851D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82