#151E7A

#151e7a ≈ Midnight Blue

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

#151e7a 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.84% blue; printed in CMYK it uses 82.79% cyan, 75.41% magenta, 0% yellow and 52.16% black. Its hue angle is 234.65°, with 70.63% saturation and 28.04% 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.01:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.98.

Description generated from the measured properties of this color.

Conversions of #151e7a 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.0249

Readable text 14.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2c2c2c ≈ 0.003% of males
Achromatomaly #242756 ≈ 0.001% of males
Protanopia #00317d ≈ 1.01% of males
Deuteranopia #002778 ≈ 1.27% of males
Tritanopia #00384a ≈ 0.0001% of males
Protanomaly #002a7c ≈ 1.08% of males
Deuteranomaly #002479 ≈ 4.63% of males
Tritanomaly #003061 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#151e7a  rgb(21, 30, 122)  hsl(235, 71%, 28%)  Midnight Blue
#7a7115  rgb(122, 113, 21)  hsl(55, 71%, 28%)  Olive
#7a151e  rgb(122, 21, 30)  hsl(355, 71%, 28%)  Burgundy
#1e7a15  rgb(30, 122, 21)  hsl(115, 71%, 28%)  Green