#404F7B#404F7B
#404F7B is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.075 H 268.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #404F7B |
|---|---|
| RGB | rgb(64, 79, 123) |
| HSL | hsl(225, 32%, 37%) |
| HSV | hsv(225, 48%, 48%) |
| CMYK | cmyk(48%, 35.8%, 0%, 51.8%) |
| CIE-LAB | lab(34.21, 7.02, -26.84) |
| CIE-LCH | lch(34.21, 27.74, 284.66°) |
| OKLab | oklab(43.53% -0.0015 -0.0754) |
| OKLCH | oklch(43.53% 0.075 268.8) |
| XYZ | xyz(8.4844, 8.1115, 19.8537) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 3.43
Twilight
#4E518B
ΔE00 4.22
Denim Blue
#3B5B92
ΔE00 6.00
Dusky Blue
#475F94
ΔE00 6.28
Dusk Blue
#26538D
ΔE00 6.48
Cobalt (survey)
#1E488F
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404F7B #7B6C40
analogous
#406D7B #404F7B #4F407B
triadic
#404F7B #7B404F #4F7B40
tetradic
#404F7B #7B406D #7B6C40 #407B4F
square
#404F7B #7B406D #7B6C40 #407B4F
split-complementary
#404F7B #7B4F40 #6D7B40
monochromatic
#161B2A #2B3553 #404F7B #5569A3 #7B8BBA
Accessibility & contrast
On white
8.01
#404F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#404F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404F7B
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404F7B | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F537D
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#2A585F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #404f7b; /* rgb */ color: rgb(64, 79, 123); /* oklch */ color: oklch(43.5% 0.075 268.8);
Tailwind
colors: {
custom: {
50: '#7880a1',
500: '#404f7b',
950: '#000000',
},
}SCSS
$custom: #404f7b; $custom-light: #7880a1; $custom-dark: #000000;
JSON
{
"hex": "#404f7b",
"rgb": {
"r": 64,
"g": 79,
"b": 123
},
"hsl": {
"h": 224.746,
"s": 31.551,
"l": 36.667
},
"oklch": {
"l": 0.43532,
"c": 0.07547,
"h": 268.8
},
"luminance": 0.08112
}Semantic roles & 50–950 ramp
primary
#404F7B
secondary
#A59872
accent
#AD60C8
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0F
muted
#7B7C7E