#404497#404497
#404497 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.133 H 277.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #404497 |
|---|---|
| RGB | rgb(64, 68, 151) |
| HSL | hsl(237, 40%, 42%) |
| HSV | hsv(237, 58%, 59%) |
| CMYK | cmyk(57.6%, 55%, 0%, 40.8%) |
| CIE-LAB | lab(32.83, 23.72, -46.24) |
| CIE-LCH | lch(32.83, 51.97, 297.16°) |
| OKLab | oklab(43.03% 0.0166 -0.1324) |
| OKLCH | oklch(43.03% 0.133 277.1) |
| XYZ | xyz(9.7656, 7.4579, 30.1971) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.79
Darkslateblue
#483D8B
ΔE00 3.76
Ocean Blue
#4F42B5
ΔE00 5.54
Sapphire (survey)
#2138AB
ΔE00 5.60
Twilight
#4E518B
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404497 #979340
analogous
#407097 #404497 #674097
triadic
#404497 #974044 #449740
tetradic
#404497 #974070 #979340 #409767
square
#404497 #974070 #979340 #409767
split-complementary
#404497 #976740 #709740
monochromatic
#1C1D41 #2E316C #404497 #5B5FB9 #8689CC
Accessibility & contrast
On white
8.43
#404497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#404497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404497
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404497 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#0F5767
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #404497; /* rgb */ color: rgb(64, 68, 151); /* oklch */ color: oklch(43.0% 0.133 277.1);
Tailwind
colors: {
custom: {
50: '#7d77b6',
500: '#404497',
950: '#000000',
},
}SCSS
$custom: #404497; $custom-light: #7d77b6; $custom-dark: #000000;
JSON
{
"hex": "#404497",
"rgb": {
"r": 64,
"g": 68,
"b": 151
},
"hsl": {
"h": 237.241,
"s": 40.465,
"l": 42.157
},
"oklch": {
"l": 0.43029,
"c": 0.13342,
"h": 277.1
},
"luminance": 0.07459
}Semantic roles & 50–950 ramp
primary
#404497
secondary
#B6B47D
accent
#CB57D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80