#404F7C#404F7C
#404F7C is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.077 H 269.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #404F7C |
|---|---|
| RGB | rgb(64, 79, 124) |
| HSL | hsl(225, 32%, 37%) |
| HSV | hsv(225, 48%, 49%) |
| CMYK | cmyk(48.4%, 36.3%, 0%, 51.4%) |
| CIE-LAB | lab(34.27, 7.35, -27.37) |
| CIE-LCH | lch(34.27, 28.34, 285.02°) |
| OKLab | oklab(43.59% -0.0013 -0.077) |
| OKLCH | oklch(43.59% 0.077 269.1) |
| XYZ | xyz(8.5473, 8.1367, 20.1850) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 3.41
Twilight
#4E518B
ΔE00 4.08
Denim Blue
#3B5B92
ΔE00 5.91
Dusky Blue
#475F94
ΔE00 6.20
Dusk Blue
#26538D
ΔE00 6.41
Cobalt (survey)
#1E488F
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404F7C #7C6D40
analogous
#406D7C #404F7C #4F407C
triadic
#404F7C #7C404F #4F7C40
tetradic
#404F7C #7C406D #7C6D40 #407C4F
square
#404F7C #7C406D #7C6D40 #407C4F
split-complementary
#404F7C #7C4F40 #6D7C40
monochromatic
#161C2B #2B3554 #404F7C #5569A4 #7B8BBB
Accessibility & contrast
On white
7.99
#404F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#404F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404F7C
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404F7C | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#29585F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #404f7c; /* rgb */ color: rgb(64, 79, 124); /* oklch */ color: oklch(43.6% 0.077 269.1);
Tailwind
colors: {
custom: {
50: '#7880a2',
500: '#404f7c',
950: '#000000',
},
}SCSS
$custom: #404f7c; $custom-light: #7880a2; $custom-dark: #000000;
JSON
{
"hex": "#404f7c",
"rgb": {
"r": 64,
"g": 79,
"b": 124
},
"hsl": {
"h": 225,
"s": 31.915,
"l": 36.863
},
"oklch": {
"l": 0.43589,
"c": 0.07702,
"h": 269.1
},
"luminance": 0.08137
}Semantic roles & 50–950 ramp
primary
#404F7C
secondary
#A69972
accent
#AE60C8
background
#F7F7FA
surface
#EDEEF3
border
#C8C9CD
text
#090A0F
muted
#7B7C7F