#080F5A

#080f5a ≈ Midnight Blue

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

#080f5a is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 3.14% red, 5.88% green and 35.29% blue; printed in CMYK it uses 91.11% cyan, 83.33% magenta, 0% yellow and 64.71% black. Its hue angle is 234.88°, with 83.67% saturation and 19.22% 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 17.12:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.1.

Description generated from the measured properties of this color.

Conversions of #080f5a 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.0113

Readable text 17.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1c1c1c ≈ 0.003% of males
Achromatomaly #16173e ≈ 0.001% of males
Protanopia #00205c ≈ 1.01% of males
Deuteranopia #001759 ≈ 1.27% of males
Tritanopia #002634 ≈ 0.0001% of males
Protanomaly #001a5b ≈ 1.08% of males
Deuteranomaly #001459 ≈ 4.63% of males
Tritanomaly #001f46 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-080f5a {
  color: #080f5a;
}
Background
.bg-080f5a {
  background-color: #080f5a;
  color: #ffffff;
}
Border
.border-080f5a {
  border: 2px solid #080f5a;
}
CSS variables
:root {
  --color-primary: #080f5a;
  --color-primary-rgb: 8 15 90;
  --color-primary-hsl: 235 84% 19%;
}
Gradient
.gradient-080f5a {
  background: linear-gradient(135deg, #080f5a, #2a085a);
}
Colored shadow
.shadow-080f5a {
  box-shadow: 0 8px 24px rgb(8 15 90 / 0.35);
}

Midnight Blue
#080f5a  rgb(8, 15, 90)  hsl(235, 84%, 19%)  Midnight Blue
#5a5308  rgb(90, 83, 8)  hsl(55, 84%, 19%)  Army Green
#5a080f  rgb(90, 8, 15)  hsl(355, 84%, 19%)  Rosewood
#0f5a08  rgb(15, 90, 8)  hsl(115, 84%, 19%)  Lincoln Green