#404F79#404F79
#404F79 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.072 H 268.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #404F79 |
|---|---|
| RGB | rgb(64, 79, 121) |
| HSL | hsl(224, 31%, 36%) |
| HSV | hsv(224, 47%, 47%) |
| CMYK | cmyk(47.1%, 34.7%, 0%, 52.5%) |
| CIE-LAB | lab(34.11, 6.37, -25.76) |
| CIE-LCH | lch(34.11, 26.53, 283.88°) |
| OKLab | oklab(43.42% -0.0021 -0.0723) |
| OKLCH | oklch(43.42% 0.072 268.3) |
| XYZ | xyz(8.3604, 8.0620, 19.2010) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 3.53
Twilight
#4E518B
ΔE00 4.52
Denim Blue
#3B5B92
ΔE00 6.17
Dusky Blue
#475F94
ΔE00 6.45
Dusk Blue
#26538D
ΔE00 6.62
Cobalt (survey)
#1E488F
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404F79 #796A40
analogous
#406C79 #404F79 #4E4079
triadic
#404F79 #79404F #4F7940
tetradic
#404F79 #79406C #796A40 #40794E
square
#404F79 #79406C #796A40 #40794E
split-complementary
#404F79 #794E40 #6C7940
monochromatic
#161B29 #2B3551 #404F79 #5569A1 #7A8BB9
Accessibility & contrast
On white
8.04
#404F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#404F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404F79
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404F79 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#2B585E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #404f79; /* rgb */ color: rgb(64, 79, 121); /* oklch */ color: oklch(43.4% 0.072 268.3);
Tailwind
colors: {
custom: {
50: '#7880a0',
500: '#404f79',
950: '#000000',
},
}SCSS
$custom: #404f79; $custom-light: #7880a0; $custom-dark: #000000;
JSON
{
"hex": "#404f79",
"rgb": {
"r": 64,
"g": 79,
"b": 121
},
"hsl": {
"h": 224.211,
"s": 30.811,
"l": 36.275
},
"oklch": {
"l": 0.43419,
"c": 0.07235,
"h": 268.3
},
"luminance": 0.08062
}Semantic roles & 50–950 ramp
primary
#404F79
secondary
#A49671
accent
#AC61C7
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E