#405AAB#405AAB
#405AAB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.133 H 267.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #405AAB |
|---|---|
| RGB | rgb(64, 90, 171) |
| HSL | hsl(225, 46%, 46%) |
| HSV | hsv(225, 63%, 67%) |
| CMYK | cmyk(62.6%, 47.4%, 0%, 32.9%) |
| CIE-LAB | lab(40.15, 16.37, -46.45) |
| CIE-LCH | lch(40.15, 49.25, 289.42°) |
| OKLab | oklab(48.99% -0.0049 -0.1327) |
| OKLCH | oklch(48.99% 0.133 267.9) |
| XYZ | xyz(13.1187, 11.3415, 40.0180) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.84
Dusky Blue
#475F94
ΔE00 3.90
Sapphire
#0F52BA
ΔE00 4.61
Denim
#1560BD
ΔE00 5.57
Dusk Blue
#26538D
ΔE00 6.06
French Blue
#436BAD
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405AAB #AB9140
analogous
#408FAB #405AAB #5B40AB
triadic
#405AAB #AB405A #5AAB40
tetradic
#405AAB #AB408F #AB9140 #40AB5B
square
#405AAB #AB408F #AB9140 #40AB5B
split-complementary
#405AAB #AB5B40 #8FAB40
monochromatic
#1F2B52 #2F437E #405AAB #637BC5 #90A1D5
Accessibility & contrast
On white
6.42
#405AAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#405AAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405AAB
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405AAB | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3264AE
Deuteranopia (green-blind)
#1F5AA9
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #405aab; /* rgb */ color: rgb(64, 90, 171); /* oklch */ color: oklch(49.0% 0.133 267.9);
Tailwind
colors: {
custom: {
50: '#7f88c4',
500: '#405aab',
950: '#000000',
},
}SCSS
$custom: #405aab; $custom-light: #7f88c4; $custom-dark: #000000;
JSON
{
"hex": "#405aab",
"rgb": {
"r": 64,
"g": 90,
"b": 171
},
"hsl": {
"h": 225.421,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.48993,
"c": 0.13284,
"h": 267.9
},
"luminance": 0.11343
}Semantic roles & 50–950 ramp
primary
#405AAB
secondary
#C1B286
accent
#B553D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82