#151A79

#151a79 ≈ Midnight Blue

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

#151a79 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 47.45% blue; printed in CMYK it uses 82.64% cyan, 78.51% magenta, 0% yellow and 52.55% black. Its hue angle is 237°, with 70.42% saturation and 27.84% 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.43:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.49.

Description generated from the measured properties of this color.

Conversions of #151a79 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.0228

Readable text 14.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2a2a2a ≈ 0.003% of males
Achromatomaly #232455 ≈ 0.001% of males
Protanopia #002f7c ≈ 1.01% of males
Deuteranopia #002577 ≈ 1.27% of males
Tritanopia #003648 ≈ 0.0001% of males
Protanomaly #00287b ≈ 1.08% of males
Deuteranomaly #002178 ≈ 4.63% of males
Tritanomaly #002d5f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#151a79  rgb(21, 26, 121)  hsl(237, 70%, 28%)  Midnight Blue
#797415  rgb(121, 116, 21)  hsl(57, 70%, 28%)  Olive
#79151a  rgb(121, 21, 26)  hsl(357, 70%, 28%)  Falu Red
#1a7915  rgb(26, 121, 21)  hsl(117, 70%, 28%)  Green