#404994#404994
#404994 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.122 H 275.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #404994 |
|---|---|
| RGB | rgb(64, 73, 148) |
| HSL | hsl(234, 40%, 42%) |
| HSV | hsv(234, 57%, 58%) |
| CMYK | cmyk(56.8%, 50.7%, 0%, 42%) |
| CIE-LAB | lab(33.97, 19.40, -42.58) |
| CIE-LCH | lch(33.97, 46.79, 294.50°) |
| OKLab | oklab(43.82% 0.0107 -0.1216) |
| OKLCH | oklch(43.82% 0.122 275) |
| XYZ | xyz(9.8405, 7.9925, 29.0354) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.46
Twilight
#4E518B
ΔE00 4.35
Darkslateblue
#483D8B
ΔE00 5.04
Cobalt (survey)
#1E488F
ΔE00 5.58
Cobalt
#0047AB
ΔE00 6.43
Dusk
#4E5481
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404994 #948B40
analogous
#407394 #404994 #614094
triadic
#404994 #944049 #499440
tetradic
#404994 #944073 #948B40 #409461
square
#404994 #944073 #948B40 #409461
split-complementary
#404994 #946140 #739440
monochromatic
#1B1F3F #2E3469 #404994 #5A64B8 #848CCA
Accessibility & contrast
On white
8.08
#404994 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#404994 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404994
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404994 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404994 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245497
Deuteranopia (green-blind)
#174C92
Tritanopia (blue-blind)
#135A67
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #404994; /* rgb */ color: rgb(64, 73, 148); /* oklch */ color: oklch(43.8% 0.122 275.0);
Tailwind
colors: {
custom: {
50: '#7c7bb4',
500: '#404994',
950: '#000000',
},
}SCSS
$custom: #404994; $custom-light: #7c7bb4; $custom-dark: #000000;
JSON
{
"hex": "#404994",
"rgb": {
"r": 64,
"g": 73,
"b": 148
},
"hsl": {
"h": 233.571,
"s": 39.623,
"l": 41.569
},
"oklch": {
"l": 0.4382,
"c": 0.12205,
"h": 275
},
"luminance": 0.07993
}Semantic roles & 50–950 ramp
primary
#404994
secondary
#B4AE7B
accent
#C358D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80