#07186E

#07186e ≈ Midnight Blue

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

#07186e 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.14% blue; printed in CMYK it uses 93.64% cyan, 78.18% magenta, 0% yellow and 56.86% black. Its hue angle is 230.1°, with 88.03% saturation and 22.94% 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.39:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.47.

Description generated from the measured properties of this color.

Conversions of #07186e 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.0182

Readable text 15.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

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

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#07186e  rgb(7, 24, 110)  hsl(230, 88%, 23%)  Midnight Blue
#6e5d07  rgb(110, 93, 7)  hsl(50, 88%, 23%)  Field Drab
#6e0718  rgb(110, 7, 24)  hsl(350, 88%, 23%)  Rosewood
#186e07  rgb(24, 110, 7)  hsl(110, 88%, 23%)  Pakistan Green