#070F4F

#070f4f ≈ Midnight Blue

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

#070f4f is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 2.75% red, 5.88% green and 30.98% blue; printed in CMYK it uses 91.14% cyan, 81.01% magenta, 0% yellow and 69.02% black. Its hue angle is 233.33°, with 83.72% saturation and 16.86% 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.64:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.85.

Description generated from the measured properties of this color.

Conversions of #070f4f 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.0095

Readable text 17.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #191919 ≈ 0.003% of males
Achromatomaly #131536 ≈ 0.001% of males
Protanopia #001c51 ≈ 1.01% of males
Deuteranopia #00154e ≈ 1.27% of males
Tritanopia #00222e ≈ 0.0001% of males
Protanomaly #001850 ≈ 1.08% of males
Deuteranomaly #00134e ≈ 4.63% of males
Tritanomaly #001c3e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-070f4f {
  color: #070f4f;
}
Background
.bg-070f4f {
  background-color: #070f4f;
  color: #ffffff;
}
Border
.border-070f4f {
  border: 2px solid #070f4f;
}
CSS variables
:root {
  --color-primary: #070f4f;
  --color-primary-rgb: 7 15 79;
  --color-primary-hsl: 233 84% 17%;
}
Gradient
.gradient-070f4f {
  background: linear-gradient(135deg, #070f4f, #23074f);
}
Colored shadow
.shadow-070f4f {
  box-shadow: 0 8px 24px rgb(7 15 79 / 0.35);
}

Midnight Blue
#070f4f  rgb(7, 15, 79)  hsl(233, 84%, 17%)  Midnight Blue
#4f4707  rgb(79, 71, 7)  hsl(53, 84%, 17%)  Army Green
#4f070f  rgb(79, 7, 15)  hsl(353, 84%, 17%)  Rosewood
#0f4f07  rgb(15, 79, 7)  hsl(113, 84%, 17%)  Lincoln Green