#405AAA#405AAA
#405AAA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.131 H 267.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #405AAA |
|---|---|
| RGB | rgb(64, 90, 170) |
| HSL | hsl(225, 45%, 46%) |
| HSV | hsv(225, 62%, 67%) |
| CMYK | cmyk(62.4%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(40.09, 16.02, -45.96) |
| CIE-LCH | lch(40.09, 48.67, 289.21°) |
| OKLab | oklab(48.93% -0.005 -0.1313) |
| OKLCH | oklch(48.93% 0.131 267.8) |
| XYZ | xyz(13.0237, 11.3035, 39.5179) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.72
Dusky Blue
#475F94
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 4.65
Denim
#1560BD
ΔE00 5.59
Dusk Blue
#26538D
ΔE00 5.97
Denim (survey)
#3B638C
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405AAA #AA9040
analogous
#408FAA #405AAA #5B40AA
triadic
#405AAA #AA405A #5AAA40
tetradic
#405AAA #AA408F #AA9040 #40AA5B
square
#405AAA #AA408F #AA9040 #40AA5B
split-complementary
#405AAA #AA5B40 #8FAA40
monochromatic
#1F2B51 #2F427E #405AAA #637BC4 #8FA0D5
Accessibility & contrast
On white
6.44
#405AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#405AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405AAA
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405AAA | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3364AD
Deuteranopia (green-blind)
#215AA8
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #405aaa; /* rgb */ color: rgb(64, 90, 170); /* oklch */ color: oklch(48.9% 0.131 267.8);
Tailwind
colors: {
custom: {
50: '#7f88c4',
500: '#405aaa',
950: '#000000',
},
}SCSS
$custom: #405aaa; $custom-light: #7f88c4; $custom-dark: #000000;
JSON
{
"hex": "#405aaa",
"rgb": {
"r": 64,
"g": 90,
"b": 170
},
"hsl": {
"h": 225.283,
"s": 45.299,
"l": 45.882
},
"oklch": {
"l": 0.48925,
"c": 0.13141,
"h": 267.8
},
"luminance": 0.11305
}Semantic roles & 50–950 ramp
primary
#405AAA
secondary
#C0B286
accent
#B553D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82