#07186F

#07186f ≈ Midnight Blue

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

#07186f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 2.75% red, 9.41% green and 43.53% blue; printed in CMYK it uses 93.69% cyan, 78.38% magenta, 0% yellow and 56.47% black. Its hue angle is 230.19°, with 88.14% saturation and 23.14% 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 15.34:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.42.

Description generated from the measured properties of this color.

Conversions of #07186f 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.0185

Readable text 15.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #252525 ≈ 0.003% of males
Achromatomaly #1c204d ≈ 0.001% of males
Protanopia #002a72 ≈ 1.01% of males
Deuteranopia #00206d ≈ 1.27% of males
Tritanopia #003242 ≈ 0.0001% of males
Protanomaly #002471 ≈ 1.08% of males
Deuteranomaly #001d6e ≈ 4.63% of males
Tritanomaly #002a57 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-07186f {
  color: #07186f;
}
Background
.bg-07186f {
  background-color: #07186f;
  color: #ffffff;
}
Border
.border-07186f {
  border: 2px solid #07186f;
}
CSS variables
:root {
  --color-primary: #07186f;
  --color-primary-rgb: 7 24 111;
  --color-primary-hsl: 230 88% 23%;
}
Gradient
.gradient-07186f {
  background: linear-gradient(135deg, #07186f, #2a076f);
}
Colored shadow
.shadow-07186f {
  box-shadow: 0 8px 24px rgb(7 24 111 / 0.35);
}

Midnight Blue
#07186f  rgb(7, 24, 111)  hsl(230, 88%, 23%)  Midnight Blue
#6f5e07  rgb(111, 94, 7)  hsl(50, 88%, 23%)  Field Drab
#6f0718  rgb(111, 7, 24)  hsl(350, 88%, 23%)  Rosewood
#186f07  rgb(24, 111, 7)  hsl(110, 88%, 23%)  Pakistan Green