#151E78

#151e78 ≈ Midnight Blue

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

#151e78 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 11.76% green and 47.06% blue; printed in CMYK it uses 82.5% cyan, 75% magenta, 0% yellow and 52.94% black. Its hue angle is 234.55°, with 70.21% saturation and 27.65% 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.11:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.8.

Description generated from the measured properties of this color.

Conversions of #151e78 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.11: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 #242755 ≈ 0.001% of males
Protanopia #00307b ≈ 1.01% of males
Deuteranopia #002676 ≈ 1.27% of males
Tritanopia #003849 ≈ 0.0001% of males
Protanomaly #002a7a ≈ 1.08% of males
Deuteranomaly #002377 ≈ 4.63% of males
Tritanomaly #002f5f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-151e78 {
  color: #151e78;
}
Background
.bg-151e78 {
  background-color: #151e78;
  color: #ffffff;
}
Border
.border-151e78 {
  border: 2px solid #151e78;
}
CSS variables
:root {
  --color-primary: #151e78;
  --color-primary-rgb: 21 30 120;
  --color-primary-hsl: 235 70% 28%;
}
Gradient
.gradient-151e78 {
  background: linear-gradient(135deg, #151e78, #3e1578);
}
Colored shadow
.shadow-151e78 {
  box-shadow: 0 8px 24px rgb(21 30 120 / 0.35);
}

Midnight Blue
#151e78  rgb(21, 30, 120)  hsl(235, 70%, 28%)  Midnight Blue
#786f15  rgb(120, 111, 21)  hsl(55, 70%, 28%)  Olive
#78151e  rgb(120, 21, 30)  hsl(355, 70%, 28%)  Burgundy
#1e7815  rgb(30, 120, 21)  hsl(115, 70%, 28%)  Green