#07186A

#07186a ≈ Midnight Blue

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

#07186a 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 41.57% blue; printed in CMYK it uses 93.4% cyan, 77.36% magenta, 0% yellow and 58.43% black. Its hue angle is 229.7°, with 87.61% saturation and 22.16% 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.58:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.82.

Description generated from the measured properties of this color.

Conversions of #07186a 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.0174

Readable text 15.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #1c204a ≈ 0.001% of males
Protanopia #00296c ≈ 1.01% of males
Deuteranopia #001f69 ≈ 1.27% of males
Tritanopia #00303f ≈ 0.0001% of males
Protanomaly #00236b ≈ 1.08% of males
Deuteranomaly #001c69 ≈ 4.63% of males
Tritanomaly #002854 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#07186a  rgb(7, 24, 106)  hsl(230, 88%, 22%)  Midnight Blue
#6a5907  rgb(106, 89, 7)  hsl(50, 88%, 22%)  Field Drab
#6a0718  rgb(106, 7, 24)  hsl(350, 88%, 22%)  Rosewood
#186a07  rgb(24, 106, 7)  hsl(110, 88%, 22%)  Pakistan Green