#404B8A

#404b8a ≈ Dark Slate Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#404b8a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 29.41% green and 54.12% blue; printed in CMYK it uses 53.62% cyan, 45.65% magenta, 0% yellow and 45.88% black. Its hue angle is 231.08°, with 36.63% saturation and 39.61% 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 8.1:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 5.91.

Description generated from the measured properties of this color.

Conversions of #404b8a 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.0796

Readable text 8.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.59:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4a4e6c ≈ 0.001% of males
Protanopia #30538c ≈ 1.01% of males
Deuteranopia #284d89 ≈ 1.27% of males
Tritanopia #1f5964 ≈ 0.0001% of males
Protanomaly #37508b ≈ 1.08% of males
Deuteranomaly #334c89 ≈ 4.63% of males
Tritanomaly #2f5375 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Slate Blue
#404b8a  rgb(64, 75, 138)  hsl(231, 37%, 40%)  Dark Slate Blue
#8a7f40  rgb(138, 127, 64)  hsl(51, 37%, 40%)  Olive
#8a404b  rgb(138, 64, 75)  hsl(351, 37%, 40%)  Cordovan
#4b8a40  rgb(75, 138, 64)  hsl(111, 37%, 40%)  Forest Green