#151A58

#151a58 ≈ Midnight Blue

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

#151a58 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 34.51% blue; printed in CMYK it uses 76.14% cyan, 70.45% magenta, 0% yellow and 65.49% black. Its hue angle is 235.52°, with 61.47% saturation and 21.37% 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.9:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.67.

Description generated from the measured properties of this color.

Conversions of #151a58 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.016

Readable text 15.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #1d1f3e ≈ 0.001% of males
Protanopia #00255a ≈ 1.01% of males
Deuteranopia #001f57 ≈ 1.27% of males
Tritanopia #002a36 ≈ 0.0001% of males
Protanomaly #002159 ≈ 1.08% of males
Deuteranomaly #001d57 ≈ 4.63% of males
Tritanomaly #002546 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#151a58  rgb(21, 26, 88)  hsl(236, 61%, 21%)  Midnight Blue
#585315  rgb(88, 83, 21)  hsl(56, 61%, 21%)  Army Green
#58151a  rgb(88, 21, 26)  hsl(356, 61%, 21%)  Caput Mortuum
#1a5815  rgb(26, 88, 21)  hsl(116, 61%, 21%)  Lincoln Green