#404A9B#404A9B
#404A9B is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.131 H 274.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #404A9B |
|---|---|
| RGB | rgb(64, 74, 155) |
| HSL | hsl(233, 42%, 43%) |
| HSV | hsv(233, 59%, 61%) |
| CMYK | cmyk(58.7%, 52.3%, 0%, 39.2%) |
| CIE-LAB | lab(34.71, 21.17, -45.63) |
| CIE-LCH | lch(34.71, 50.31, 294.89°) |
| OKLab | oklab(44.53% 0.0103 -0.1305) |
| OKLCH | oklch(44.53% 0.131 274.5) |
| XYZ | xyz(10.4776, 8.3533, 32.0642) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.63
Twilight
#4E518B
ΔE00 4.98
Darkslateblue
#483D8B
ΔE00 5.59
Cobalt (survey)
#1E488F
ΔE00 5.66
Cobalt
#0047AB
ΔE00 5.85
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404A9B #9B9140
analogous
#40779B #404A9B #64409B
triadic
#404A9B #9B404A #4A9B40
tetradic
#404A9B #9B4077 #9B9140 #409B64
square
#404A9B #9B4077 #9B9140 #409B64
split-complementary
#404A9B #9B6440 #779B40
monochromatic
#1C2144 #2E3570 #404A9B #5C67BC #888FCE
Accessibility & contrast
On white
7.86
#404A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#404A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404A9B
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404A9B | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#0A4E99
Tritanopia (blue-blind)
#025C6B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #404a9b; /* rgb */ color: rgb(64, 74, 155); /* oklch */ color: oklch(44.5% 0.131 274.5);
Tailwind
colors: {
custom: {
50: '#7d7cb9',
500: '#404a9b',
950: '#000000',
},
}SCSS
$custom: #404a9b; $custom-light: #7d7cb9; $custom-dark: #000000;
JSON
{
"hex": "#404a9b",
"rgb": {
"r": 64,
"g": 74,
"b": 155
},
"hsl": {
"h": 233.407,
"s": 41.553,
"l": 42.941
},
"oklch": {
"l": 0.44529,
"c": 0.13094,
"h": 274.5
},
"luminance": 0.08354
}Semantic roles & 50–950 ramp
primary
#404A9B
secondary
#B8B27E
accent
#C456D1
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0911
muted
#7C7B80