#151C5E

#151c5e ≈ Midnight Blue

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

#151c5e 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.98% green and 36.86% blue; printed in CMYK it uses 77.66% cyan, 70.21% magenta, 0% yellow and 63.14% black. Its hue angle is 234.25°, with 63.48% saturation and 22.55% 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 15.45:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.84.

Description generated from the measured properties of this color.

Conversions of #151c5e 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.018

Readable text 15.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #1f2143 ≈ 0.001% of males
Protanopia #002860 ≈ 1.01% of males
Deuteranopia #00215d ≈ 1.27% of males
Tritanopia #002d3a ≈ 0.0001% of males
Protanomaly #00245f ≈ 1.08% of males
Deuteranomaly #001f5d ≈ 4.63% of males
Tritanomaly #00274b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-151c5e {
  color: #151c5e;
}
Background
.bg-151c5e {
  background-color: #151c5e;
  color: #ffffff;
}
Border
.border-151c5e {
  border: 2px solid #151c5e;
}
CSS variables
:root {
  --color-primary: #151c5e;
  --color-primary-rgb: 21 28 94;
  --color-primary-hsl: 234 63% 23%;
}
Gradient
.gradient-151c5e {
  background: linear-gradient(135deg, #151c5e, #33155e);
}
Colored shadow
.shadow-151c5e {
  box-shadow: 0 8px 24px rgb(21 28 94 / 0.35);
}

Midnight Blue
#151c5e  rgb(21, 28, 94)  hsl(234, 63%, 23%)  Midnight Blue
#5e5715  rgb(94, 87, 21)  hsl(54, 63%, 23%)  Army Green
#5e151c  rgb(94, 21, 28)  hsl(354, 63%, 23%)  Rosewood
#1c5e15  rgb(28, 94, 21)  hsl(114, 63%, 23%)  Lincoln Green