#050F5F

#050f5f ≈ Midnight Blue

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

#050f5f is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 1.96% red, 5.88% green and 37.25% blue; printed in CMYK it uses 94.74% cyan, 84.21% magenta, 0% yellow and 62.75% black. Its hue angle is 233.33°, with 90% saturation and 19.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 luxury branding. White text on this color reaches a contrast ratio of 16.94:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.52.

Description generated from the measured properties of this color.

Conversions of #050f5f 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.012

Readable text 16.94:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #1d1d1d ≈ 0.003% of males
Achromatomaly #161841 ≈ 0.001% of males
Protanopia #002161 ≈ 1.01% of males
Deuteranopia #00185e ≈ 1.27% of males
Tritanopia #002837 ≈ 0.0001% of males
Protanomaly #001b60 ≈ 1.08% of males
Deuteranomaly #00155e ≈ 4.63% of males
Tritanomaly #00204a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-050f5f {
  color: #050f5f;
}
Background
.bg-050f5f {
  background-color: #050f5f;
  color: #ffffff;
}
Border
.border-050f5f {
  border: 2px solid #050f5f;
}
CSS variables
:root {
  --color-primary: #050f5f;
  --color-primary-rgb: 5 15 95;
  --color-primary-hsl: 233 90% 20%;
}
Gradient
.gradient-050f5f {
  background: linear-gradient(135deg, #050f5f, #28055f);
}
Colored shadow
.shadow-050f5f {
  box-shadow: 0 8px 24px rgb(5 15 95 / 0.35);
}

Midnight Blue
#050f5f  rgb(5, 15, 95)  hsl(233, 90%, 20%)  Midnight Blue
#5f5505  rgb(95, 85, 5)  hsl(53, 90%, 20%)  Field Drab
#5f050f  rgb(95, 5, 15)  hsl(353, 90%, 20%)  Rosewood
#0f5f05  rgb(15, 95, 5)  hsl(113, 90%, 20%)  Dark Green