#404C8D

#404c8d ≈ Dark Slate Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#404c8d is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 29.8% green and 55.29% blue; printed in CMYK it uses 54.61% cyan, 46.1% magenta, 0% yellow and 44.71% black. Its hue angle is 230.65°, with 37.56% saturation and 40.2% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 7.97:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 6.14.

Description generated from the measured properties of this color.

Conversions of #404c8d into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#333399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0818

Readable text 7.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4b4f6e ≈ 0.001% of males
Protanopia #30548f ≈ 1.01% of males
Deuteranopia #274e8c ≈ 1.27% of males
Tritanopia #1b5a65 ≈ 0.0001% of males
Protanomaly #37518e ≈ 1.08% of males
Deuteranomaly #334d8c ≈ 4.63% of males
Tritanomaly #2e5577 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-404c8d {
  color: #404c8d;
}
Background
.bg-404c8d {
  background-color: #404c8d;
  color: #ffffff;
}
Border
.border-404c8d {
  border: 2px solid #404c8d;
}
CSS variables
:root {
  --color-primary: #404c8d;
  --color-primary-rgb: 64 76 141;
  --color-primary-hsl: 231 38% 40%;
}
Gradient
.gradient-404c8d {
  background: linear-gradient(135deg, #404c8d, #5b408d);
}
Colored shadow
.shadow-404c8d {
  box-shadow: 0 8px 24px rgb(64 76 141 / 0.35);
}

Dark Slate Blue
#404c8d  rgb(64, 76, 141)  hsl(231, 38%, 40%)  Dark Slate Blue
#8d8140  rgb(141, 129, 64)  hsl(51, 38%, 40%)  Olive
#8d404c  rgb(141, 64, 76)  hsl(351, 38%, 40%)  Cordovan
#4c8d40  rgb(76, 141, 64)  hsl(111, 38%, 40%)  Forest Green