#121E7E

#121e7e ≈ Midnight Blue

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

#121e7e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 7.06% red, 11.76% green and 49.41% blue; printed in CMYK it uses 85.71% cyan, 76.19% magenta, 0% yellow and 50.59% black. Its hue angle is 233.33°, with 75% saturation and 28.24% 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 13.88:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.5.

Description generated from the measured properties of this color.

Conversions of #121e7e 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.0256

Readable text 13.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #242759 ≈ 0.001% of males
Protanopia #003281 ≈ 1.01% of males
Deuteranopia #00277c ≈ 1.27% of males
Tritanopia #003a4c ≈ 0.0001% of males
Protanomaly #002b80 ≈ 1.08% of males
Deuteranomaly #00247d ≈ 4.63% of males
Tritanomaly #003164 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-121e7e {
  color: #121e7e;
}
Background
.bg-121e7e {
  background-color: #121e7e;
  color: #ffffff;
}
Border
.border-121e7e {
  border: 2px solid #121e7e;
}
CSS variables
:root {
  --color-primary: #121e7e;
  --color-primary-rgb: 18 30 126;
  --color-primary-hsl: 233 75% 28%;
}
Gradient
.gradient-121e7e {
  background: linear-gradient(135deg, #121e7e, #3c127e);
}
Colored shadow
.shadow-121e7e {
  box-shadow: 0 8px 24px rgb(18 30 126 / 0.35);
}

Midnight Blue
#121e7e  rgb(18, 30, 126)  hsl(233, 75%, 28%)  Midnight Blue
#7e7212  rgb(126, 114, 18)  hsl(53, 75%, 28%)  Olive
#7e121e  rgb(126, 18, 30)  hsl(353, 75%, 28%)  Burgundy
#1e7e12  rgb(30, 126, 18)  hsl(113, 75%, 28%)  Green