#405A8A#405A8A
#405A8A is a mid, moderate blue. Relative luminance 0.102; OKLCH L 46.9% C 0.084 H 262.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #405A8A |
|---|---|
| RGB | rgb(64, 90, 138) |
| HSL | hsl(219, 37%, 40%) |
| HSV | hsv(219, 54%, 54%) |
| CMYK | cmyk(53.6%, 34.8%, 0%, 45.9%) |
| CIE-LAB | lab(38.26, 4.92, -29.67) |
| CIE-LCH | lch(38.26, 30.08, 279.41°) |
| OKLab | oklab(46.93% -0.0118 -0.0836) |
| OKLCH | oklch(46.93% 0.084 262) |
| XYZ | xyz(10.3564, 10.2365, 25.4699) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.63
Dusky Blue
#475F94
ΔE00 2.25
Light Navy Blue
#2E5A88
ΔE00 4.01
Dusk Blue
#26538D
ΔE00 4.23
Denim (survey)
#3B638C
ΔE00 4.73
Dusk
#4E5481
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405A8A #8A7040
analogous
#407F8A #405A8A #4B408A
triadic
#405A8A #8A405A #5A8A40
tetradic
#405A8A #8A407F #8A7040 #408A4B
square
#405A8A #8A407F #8A7040 #408A4B
split-complementary
#405A8A #8A4B40 #7F8A40
monochromatic
#192336 #2D3F60 #405A8A #5676B1 #8098C4
Accessibility & contrast
On white
6.89
#405A8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#405A8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405A8A
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405A8A | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#1B646B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #405a8a; /* rgb */ color: rgb(64, 90, 138); /* oklch */ color: oklch(46.9% 0.084 262.0);
Tailwind
colors: {
custom: {
50: '#7a88ac',
500: '#405a8a',
950: '#000000',
},
}SCSS
$custom: #405a8a; $custom-light: #7a88ac; $custom-dark: #000000;
JSON
{
"hex": "#405a8a",
"rgb": {
"r": 64,
"g": 90,
"b": 138
},
"hsl": {
"h": 218.919,
"s": 36.634,
"l": 39.608
},
"oklch": {
"l": 0.46927,
"c": 0.08446,
"h": 262
},
"luminance": 0.10237
}Semantic roles & 50–950 ramp
primary
#405A8A
secondary
#AF9B77
accent
#A55BCD
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F