#040550

#040550 ≈ Midnight Blue

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

#040550 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 1.96% green and 31.37% blue; printed in CMYK it uses 95% cyan, 93.75% magenta, 0% yellow and 68.63% black. Its hue angle is 239.21°, with 90.48% saturation and 16.47% 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 luxury branding. White text on this color reaches a contrast ratio of 18.38:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.4.

Description generated from the measured properties of this color.

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

Readable text 18.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #141414 ≈ 0.003% of males
Achromatomaly #0f0f36 ≈ 0.001% of males
Protanopia #001852 ≈ 1.01% of males
Deuteranopia #00104f ≈ 1.27% of males
Tritanopia #001e2c ≈ 0.0001% of males
Protanomaly #001251 ≈ 1.08% of males
Deuteranomaly #000c4f ≈ 4.63% of males
Tritanomaly #00173d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-040550 {
  color: #040550;
}
Background
.bg-040550 {
  background-color: #040550;
  color: #ffffff;
}
Border
.border-040550 {
  border: 2px solid #040550;
}
CSS variables
:root {
  --color-primary: #040550;
  --color-primary-rgb: 4 5 80;
  --color-primary-hsl: 239 90% 16%;
}
Gradient
.gradient-040550 {
  background: linear-gradient(135deg, #040550, #290450);
}
Colored shadow
.shadow-040550 {
  box-shadow: 0 8px 24px rgb(4 5 80 / 0.35);
}

Midnight Blue
#040550  rgb(4, 5, 80)  hsl(239, 90%, 16%)  Midnight Blue
#504f04  rgb(80, 79, 4)  hsl(59, 90%, 16%)  Army Green
#500405  rgb(80, 4, 5)  hsl(359, 90%, 16%)  Rosewood
#055004  rgb(5, 80, 4)  hsl(119, 90%, 16%)  Lincoln Green