#151A5B

#151a5b ≈ Midnight Blue

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

#151a5b 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 35.69% blue; printed in CMYK it uses 76.92% cyan, 71.43% magenta, 0% yellow and 64.31% black. Its hue angle is 235.71°, with 62.5% saturation and 21.96% 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.78:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.06.

Description generated from the measured properties of this color.

Conversions of #151a5b 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.0165

Readable text 15.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #232323 ≈ 0.003% of males
Achromatomaly #1e1f40 ≈ 0.001% of males
Protanopia #00265d ≈ 1.01% of males
Deuteranopia #001f5a ≈ 1.27% of males
Tritanopia #002b38 ≈ 0.0001% of males
Protanomaly #00225c ≈ 1.08% of males
Deuteranomaly #001d5a ≈ 4.63% of males
Tritanomaly #002548 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#151a5b  rgb(21, 26, 91)  hsl(236, 63%, 22%)  Midnight Blue
#5b5615  rgb(91, 86, 21)  hsl(56, 63%, 22%)  Army Green
#5b151a  rgb(91, 21, 26)  hsl(356, 63%, 22%)  Rosewood
#1a5b15  rgb(26, 91, 21)  hsl(116, 63%, 22%)  Lincoln Green