#404997#404997
#404997 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.126 H 275.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #404997 |
|---|---|
| RGB | rgb(64, 73, 151) |
| HSL | hsl(234, 40%, 42%) |
| HSV | hsv(234, 58%, 59%) |
| CMYK | cmyk(57.6%, 51.7%, 0%, 40.8%) |
| CIE-LAB | lab(34.17, 20.44, -44.08) |
| CIE-LCH | lch(34.17, 48.59, 294.88°) |
| OKLab | oklab(44.04% 0.011 -0.126) |
| OKLCH | oklch(44.04% 0.126 275) |
| XYZ | xyz(10.0810, 8.0887, 30.3022) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.34
Twilight
#4E518B
ΔE00 4.68
Darkslateblue
#483D8B
ΔE00 5.12
Cobalt (survey)
#1E488F
ΔE00 5.64
Cobalt
#0047AB
ΔE00 6.18
Ocean Blue
#4F42B5
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404997 #978E40
analogous
#407597 #404997 #634097
triadic
#404997 #974049 #499740
tetradic
#404997 #974075 #978E40 #409763
square
#404997 #974075 #978E40 #409763
split-complementary
#404997 #976340 #759740
monochromatic
#1C1F41 #2E346C #404997 #5B65B9 #868DCC
Accessibility & contrast
On white
8.02
#404997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#404997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404997
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404997 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#114D95
Tritanopia (blue-blind)
#0D5B69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #404997; /* rgb */ color: rgb(64, 73, 151); /* oklch */ color: oklch(44.0% 0.126 275.0);
Tailwind
colors: {
custom: {
50: '#7c7bb6',
500: '#404997',
950: '#000000',
},
}SCSS
$custom: #404997; $custom-light: #7c7bb6; $custom-dark: #000000;
JSON
{
"hex": "#404997",
"rgb": {
"r": 64,
"g": 73,
"b": 151
},
"hsl": {
"h": 233.793,
"s": 40.465,
"l": 42.157
},
"oklch": {
"l": 0.44035,
"c": 0.12647,
"h": 275
},
"luminance": 0.08089
}Semantic roles & 50–950 ramp
primary
#404997
secondary
#B6B07D
accent
#C457D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80