#404C99#404C99
#404C99 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.125 H 273.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #404C99 |
|---|---|
| RGB | rgb(64, 76, 153) |
| HSL | hsl(232, 41%, 43%) |
| HSV | hsv(232, 58%, 60%) |
| CMYK | cmyk(58.2%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(35.12, 19.17, -43.76) |
| CIE-LCH | lch(35.12, 47.78, 293.65°) |
| OKLab | oklab(44.8% 0.0079 -0.125) |
| OKLCH | oklch(44.8% 0.125 273.6) |
| XYZ | xyz(10.4467, 8.5580, 31.2322) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.32
Twilight
#4E518B
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.91
Darkslateblue
#483D8B
ΔE00 6.12
Denim Blue
#3B5B92
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#404C99 #998D40
analogous
#407999 #404C99 #604099
triadic
#404C99 #99404C #4C9940
tetradic
#404C99 #994079 #998D40 #409960
square
#404C99 #994079 #998D40 #409960
split-complementary
#404C99 #996040 #799940
monochromatic
#1C2143 #2E376E #404C99 #5C68BB #8790CD
Accessibility & contrast
On white
7.74
#404C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#404C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #404C99
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##404C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##404C99 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#174F97
Tritanopia (blue-blind)
#065D6B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #404c99; /* rgb */ color: rgb(64, 76, 153); /* oklch */ color: oklch(44.8% 0.125 273.6);
Tailwind
colors: {
custom: {
50: '#7d7db7',
500: '#404c99',
950: '#000000',
},
}SCSS
$custom: #404c99; $custom-light: #7d7db7; $custom-dark: #000000;
JSON
{
"hex": "#404c99",
"rgb": {
"r": 64,
"g": 76,
"b": 153
},
"hsl": {
"h": 231.91,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.44797,
"c": 0.12527,
"h": 273.6
},
"luminance": 0.08559
}Semantic roles & 50–950 ramp
primary
#404C99
secondary
#B7AF7E
accent
#C057D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80