#405477#405477
#405477 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.5% C 0.063 H 261.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #405477 |
|---|---|
| RGB | rgb(64, 84, 119) |
| HSL | hsl(218, 30%, 36%) |
| HSV | hsv(218, 46%, 47%) |
| CMYK | cmyk(46.2%, 29.4%, 0%, 53.3%) |
| CIE-LAB | lab(35.52, 2.51, -22.31) |
| CIE-LCH | lch(35.52, 22.45, 276.41°) |
| OKLab | oklab(44.48% -0.0096 -0.0623) |
| OKLCH | oklch(44.48% 0.063 261.3) |
| XYZ | xyz(8.6134, 8.7620, 18.6866) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 5.07
Dusk
#4E5481
ΔE00 5.15
Dusky Blue
#475F94
ΔE00 5.57
Light Navy Blue
#2E5A88
ΔE00 5.59
Dusk Blue
#26538D
ΔE00 5.69
Twilight
#4E518B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405477 #776340
analogous
#406F77 #405477 #474077
triadic
#405477 #774054 #547740
tetradic
#405477 #77406F #776340 #407747
square
#405477 #77406F #776340 #407747
split-complementary
#405477 #774740 #6F7740
monochromatic
#151C27 #2B384F #405477 #55709F #7A90B7
Accessibility & contrast
On white
7.63
#405477 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#405477 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405477
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405477 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405477 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475679
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#2B5B60
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #405477; /* rgb */ color: rgb(64, 84, 119); /* oklch */ color: oklch(44.5% 0.063 261.3);
Tailwind
colors: {
custom: {
50: '#78839e',
500: '#405477',
950: '#000000',
},
}SCSS
$custom: #405477; $custom-light: #78839e; $custom-dark: #000000;
JSON
{
"hex": "#405477",
"rgb": {
"r": 64,
"g": 84,
"b": 119
},
"hsl": {
"h": 218.182,
"s": 30.055,
"l": 35.882
},
"oklch": {
"l": 0.44484,
"c": 0.06308,
"h": 261.3
},
"luminance": 0.08763
}Semantic roles & 50–950 ramp
primary
#405477
secondary
#A29071
accent
#A262C6
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090A0E
muted
#7B7C7E