#182C6E

#182c6e ≈ Midnight Blue

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

#182c6e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 9.41% red, 17.25% green and 43.14% blue; printed in CMYK it uses 78.18% cyan, 60% magenta, 0% yellow and 56.86% black. Its hue angle is 226.05°, with 64.18% saturation and 26.27% 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 12.93:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.54.

Description generated from the measured properties of this color.

Conversions of #182c6e into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#003366
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0312

Readable text 12.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #313131 ≈ 0.003% of males
Achromatomaly #292f50 ≈ 0.001% of males
Protanopia #003670 ≈ 1.01% of males
Deuteranopia #002e6d ≈ 1.27% of males
Tritanopia #003c48 ≈ 0.0001% of males
Protanomaly #04326f ≈ 1.08% of males
Deuteranomaly #002d6d ≈ 4.63% of males
Tritanomaly #00365a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-182c6e {
  color: #182c6e;
}
Background
.bg-182c6e {
  background-color: #182c6e;
  color: #ffffff;
}
Border
.border-182c6e {
  border: 2px solid #182c6e;
}
CSS variables
:root {
  --color-primary: #182c6e;
  --color-primary-rgb: 24 44 110;
  --color-primary-hsl: 226 64% 26%;
}
Gradient
.gradient-182c6e {
  background: linear-gradient(135deg, #182c6e, #2f186e);
}
Colored shadow
.shadow-182c6e {
  box-shadow: 0 8px 24px rgb(24 44 110 / 0.35);
}

Midnight Blue
#182c6e  rgb(24, 44, 110)  hsl(226, 64%, 26%)  Midnight Blue
#6e5a18  rgb(110, 90, 24)  hsl(46, 64%, 26%)  Field Drab
#6e182c  rgb(110, 24, 44)  hsl(346, 64%, 26%)  Claret
#2c6e18  rgb(44, 110, 24)  hsl(106, 64%, 26%)  Pakistan Green