#405488#405488
#405488 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.089 H 266.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #405488 |
|---|---|
| RGB | rgb(64, 84, 136) |
| HSL | hsl(223, 36%, 39%) |
| HSV | hsv(223, 53%, 53%) |
| CMYK | cmyk(52.9%, 38.2%, 0%, 46.7%) |
| CIE-LAB | lab(36.38, 8.10, -31.42) |
| CIE-LCH | lch(36.38, 32.45, 284.45°) |
| OKLab | oklab(45.43% -0.0047 -0.0888) |
| OKLCH | oklch(45.43% 0.089 266.9) |
| XYZ | xyz(9.7271, 9.2075, 24.5524) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.50
Dusky Blue
#475F94
ΔE00 3.90
Twilight
#4E518B
ΔE00 4.24
Dusk
#4E5481
ΔE00 4.31
Dusk Blue
#26538D
ΔE00 4.81
Cobalt (survey)
#1E488F
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405488 #887440
analogous
#407888 #405488 #504088
triadic
#405488 #884054 #548840
tetradic
#405488 #884078 #887440 #408850
square
#405488 #884078 #887440 #408850
split-complementary
#405488 #885040 #788840
monochromatic
#192135 #2C3A5E #405488 #566FAF #7F92C3
Accessibility & contrast
On white
7.39
#405488 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#405488 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405488
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405488 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405488 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40598A
Deuteranopia (green-blind)
#385387
Tritanopia (blue-blind)
#1F5F67
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #405488; /* rgb */ color: rgb(64, 84, 136); /* oklch */ color: oklch(45.4% 0.089 266.9);
Tailwind
colors: {
custom: {
50: '#7a83ab',
500: '#405488',
950: '#000000',
},
}SCSS
$custom: #405488; $custom-light: #7a83ab; $custom-dark: #000000;
JSON
{
"hex": "#405488",
"rgb": {
"r": 64,
"g": 84,
"b": 136
},
"hsl": {
"h": 223.333,
"s": 36,
"l": 39.216
},
"oklch": {
"l": 0.45433,
"c": 0.0889,
"h": 266.9
},
"luminance": 0.09208
}Semantic roles & 50–950 ramp
primary
#405488
secondary
#AD9E76
accent
#AD5CCC
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F