#404FA5

#404fa5 ≈ Cobalt Blue

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

#404fa5 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 30.98% green and 64.71% blue; printed in CMYK it uses 61.21% cyan, 52.12% magenta, 0% yellow and 35.29% black. Its hue angle is 231.09°, with 44.1% saturation and 44.9% 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.29:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 5.4.

Description generated from the measured properties of this color.

Conversions of #404fa5 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.094

Readable text 7.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4e547e ≈ 0.001% of males
Protanopia #1e5ba8 ≈ 1.01% of males
Deuteranopia #0152a3 ≈ 1.27% of males
Tritanopia #006372 ≈ 0.0001% of males
Protanomaly #2f56a7 ≈ 1.08% of males
Deuteranomaly #2751a4 ≈ 4.63% of males
Tritanomaly #215c89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-404fa5 {
  color: #404fa5;
}
Background
.bg-404fa5 {
  background-color: #404fa5;
  color: #ffffff;
}
Border
.border-404fa5 {
  border: 2px solid #404fa5;
}
CSS variables
:root {
  --color-primary: #404fa5;
  --color-primary-rgb: 64 79 165;
  --color-primary-hsl: 231 44% 45%;
}
Gradient
.gradient-404fa5 {
  background: linear-gradient(135deg, #404fa5, #6340a5);
}
Colored shadow
.shadow-404fa5 {
  box-shadow: 0 8px 24px rgb(64 79 165 / 0.35);
}

Cobalt Blue
#404fa5  rgb(64, 79, 165)  hsl(231, 44%, 45%)  Cobalt Blue
#a59640  rgb(165, 150, 64)  hsl(51, 44%, 45%)  Brass
#a5404f  rgb(165, 64, 79)  hsl(351, 44%, 45%)  Cordovan
#4fa540  rgb(79, 165, 64)  hsl(111, 44%, 45%)  Kelly Green