#404899#404899
#404899 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.131 H 275.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #404899 |
|---|---|
| RGB | rgb(64, 72, 153) |
| HSL | hsl(235, 41%, 43%) |
| HSV | hsv(235, 58%, 60%) |
| CMYK | cmyk(58.2%, 52.9%, 0%, 40%) |
| CIE-LAB | lab(34.03, 21.79, -45.51) |
| CIE-LCH | lch(34.03, 50.46, 295.58°) |
| OKLab | oklab(43.98% 0.0123 -0.1302) |
| OKLCH | oklch(43.98% 0.131 275.4) |
| XYZ | xyz(10.1796, 8.0239, 31.1432) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.98
Darkslateblue
#483D8B
ΔE00 4.92
Twilight
#4E518B
ΔE00 5.08
Cobalt (survey)
#1E488F
ΔE00 5.86
Ocean Blue
#4F42B5
ΔE00 5.90
Cobalt
#0047AB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404899 #999140
analogous
#407499 #404899 #654099
triadic
#404899 #994048 #489940
tetradic
#404899 #994074 #999140 #409965
square
#404899 #994074 #999140 #409965
split-complementary
#404899 #996540 #749940
monochromatic
#1C1F43 #2E346E #404899 #5C64BB #878DCD
Accessibility & contrast
On white
8.06
#404899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#404899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404899
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404899 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B549C
Deuteranopia (green-blind)
#074C97
Tritanopia (blue-blind)
#085A69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #404899; /* rgb */ color: rgb(64, 72, 153); /* oklch */ color: oklch(44.0% 0.131 275.4);
Tailwind
colors: {
custom: {
50: '#7d7ab8',
500: '#404899',
950: '#000000',
},
}SCSS
$custom: #404899; $custom-light: #7d7ab8; $custom-dark: #000000;
JSON
{
"hex": "#404899",
"rgb": {
"r": 64,
"g": 72,
"b": 153
},
"hsl": {
"h": 234.607,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.43977,
"c": 0.13079,
"h": 275.4
},
"luminance": 0.08025
}Semantic roles & 50–950 ramp
primary
#404899
secondary
#B7B27E
accent
#C657D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80