#404F8A

#404f8a ≈ Yale Blue

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

#404f8a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 30.98% green and 54.12% blue; printed in CMYK it uses 53.62% cyan, 42.75% magenta, 0% yellow and 45.88% black. Its hue angle is 227.84°, 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 7.77:1 (WCAG AAA). The closest named color is Yale Blue (#0f4d92), ΔE 6.78.

Description generated from the measured properties of this color.

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

Readable text 7.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4c516d ≈ 0.001% of males
Protanopia #37568c ≈ 1.01% of males
Deuteranopia #2f4f89 ≈ 1.27% of males
Tritanopia #1e5c66 ≈ 0.0001% of males
Protanomaly #3b538b ≈ 1.08% of males
Deuteranomaly #364f89 ≈ 4.63% of males
Tritanomaly #2f5776 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Yale Blue
#404f8a  rgb(64, 79, 138)  hsl(228, 37%, 40%)  Yale Blue
#8a7b40  rgb(138, 123, 64)  hsl(48, 37%, 40%)  Olive
#8a404f  rgb(138, 64, 79)  hsl(348, 37%, 40%)  Cordovan
#4f8a40  rgb(79, 138, 64)  hsl(108, 37%, 40%)  Sap Green