#404D9C#404D9C
#404D9C is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.128 H 273.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #404D9C |
|---|---|
| RGB | rgb(64, 77, 156) |
| HSL | hsl(232, 42%, 43%) |
| HSV | hsv(232, 59%, 61%) |
| CMYK | cmyk(59%, 50.6%, 0%, 38.8%) |
| CIE-LAB | lab(35.59, 19.55, -44.82) |
| CIE-LCH | lch(35.59, 48.90, 293.57°) |
| OKLab | oklab(45.22% 0.0071 -0.1281) |
| OKLCH | oklch(45.22% 0.128 273.2) |
| XYZ | xyz(10.7670, 8.7972, 32.5767) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.64
Twilight
#4E518B
ΔE00 4.78
Cobalt (survey)
#1E488F
ΔE00 5.43
Cobalt
#0047AB
ΔE00 5.71
Denim Blue
#3B5B92
ΔE00 6.09
Sapphire
#0F52BA
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404D9C #9C8F40
analogous
#407B9C #404D9C #61409C
triadic
#404D9C #9C404D #4D9C40
tetradic
#404D9C #9C407B #9C8F40 #409C61
square
#404D9C #9C407B #9C8F40 #409C61
split-complementary
#404D9C #9C6140 #7B9C40
monochromatic
#1C2245 #2E3871 #404D9C #5D6ABC #8892CE
Accessibility & contrast
On white
7.61
#404D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#404D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404D9C
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404D9C | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#14509A
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #404d9c; /* rgb */ color: rgb(64, 77, 156); /* oklch */ color: oklch(45.2% 0.128 273.2);
Tailwind
colors: {
custom: {
50: '#7d7eba',
500: '#404d9c',
950: '#000000',
},
}SCSS
$custom: #404d9c; $custom-light: #7d7eba; $custom-dark: #000000;
JSON
{
"hex": "#404d9c",
"rgb": {
"r": 64,
"g": 77,
"b": 156
},
"hsl": {
"h": 231.522,
"s": 41.818,
"l": 43.137
},
"oklch": {
"l": 0.45217,
"c": 0.12831,
"h": 273.2
},
"luminance": 0.08798
}Semantic roles & 50–950 ramp
primary
#404D9C
secondary
#B9B17F
accent
#C056D2
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A11
muted
#7C7C80