#18236A

#18236a ≈ Midnight Blue

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

#18236a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 9.41% red, 13.73% green and 41.57% blue; printed in CMYK it uses 77.36% cyan, 66.98% magenta, 0% yellow and 58.43% black. Its hue angle is 231.95°, with 63.08% saturation and 25.49% 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 14.12:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.73.

Description generated from the measured properties of this color.

Conversions of #18236a 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.0244

Readable text 14.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2b2b2b ≈ 0.003% of males
Achromatomaly #25284c ≈ 0.001% of males
Protanopia #002f6c ≈ 1.01% of males
Deuteranopia #002769 ≈ 1.27% of males
Tritanopia #003543 ≈ 0.0001% of males
Protanomaly #002b6b ≈ 1.08% of males
Deuteranomaly #002669 ≈ 4.63% of males
Tritanomaly #002f55 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-18236a {
  color: #18236a;
}
Background
.bg-18236a {
  background-color: #18236a;
  color: #ffffff;
}
Border
.border-18236a {
  border: 2px solid #18236a;
}
CSS variables
:root {
  --color-primary: #18236a;
  --color-primary-rgb: 24 35 106;
  --color-primary-hsl: 232 63% 25%;
}
Gradient
.gradient-18236a {
  background: linear-gradient(135deg, #18236a, #36186a);
}
Colored shadow
.shadow-18236a {
  box-shadow: 0 8px 24px rgb(24 35 106 / 0.35);
}

Midnight Blue
#18236a  rgb(24, 35, 106)  hsl(232, 63%, 25%)  Midnight Blue
#6a5f18  rgb(106, 95, 24)  hsl(52, 63%, 25%)  Field Drab
#6a1823  rgb(106, 24, 35)  hsl(352, 63%, 25%)  Burgundy
#236a18  rgb(35, 106, 24)  hsl(112, 63%, 25%)  Pakistan Green