#151A71

#151a71 ≈ Midnight Blue

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

#151a71 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 10.2% green and 44.31% blue; printed in CMYK it uses 81.42% cyan, 76.99% magenta, 0% yellow and 55.69% black. Its hue angle is 236.74°, with 68.66% 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 14.81:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 0.56.

Description generated from the measured properties of this color.

Conversions of #151a71 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.0209

Readable text 14.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #21234f ≈ 0.001% of males
Protanopia #002c74 ≈ 1.01% of males
Deuteranopia #00236f ≈ 1.27% of males
Tritanopia #003344 ≈ 0.0001% of males
Protanomaly #002673 ≈ 1.08% of males
Deuteranomaly #002070 ≈ 4.63% of males
Tritanomaly #002b59 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-151a71 {
  color: #151a71;
}
Background
.bg-151a71 {
  background-color: #151a71;
  color: #ffffff;
}
Border
.border-151a71 {
  border: 2px solid #151a71;
}
CSS variables
:root {
  --color-primary: #151a71;
  --color-primary-rgb: 21 26 113;
  --color-primary-hsl: 237 69% 26%;
}
Gradient
.gradient-151a71 {
  background: linear-gradient(135deg, #151a71, #3e1571);
}
Colored shadow
.shadow-151a71 {
  box-shadow: 0 8px 24px rgb(21 26 113 / 0.35);
}

Midnight Blue
#151a71  rgb(21, 26, 113)  hsl(237, 69%, 26%)  Midnight Blue
#716c15  rgb(113, 108, 21)  hsl(57, 69%, 26%)  Olive
#71151a  rgb(113, 21, 26)  hsl(357, 69%, 26%)  Rosewood
#1a7115  rgb(26, 113, 21)  hsl(117, 69%, 26%)  Pakistan Green