#151C6D

#151c6d ≈ Midnight Blue

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

#151c6d 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 42.75% blue; printed in CMYK it uses 80.73% cyan, 74.31% magenta, 0% yellow and 57.25% black. Its hue angle is 235.23°, with 67.69% saturation and 25.49% 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.8:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 1.34.

Description generated from the measured properties of this color.

Conversions of #151c6d 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.8: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 #21234d ≈ 0.001% of males
Protanopia #002c6f ≈ 1.01% of males
Deuteranopia #00236c ≈ 1.27% of males
Tritanopia #003342 ≈ 0.0001% of males
Protanomaly #00266e ≈ 1.08% of males
Deuteranomaly #00216c ≈ 4.63% of males
Tritanomaly #002b56 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-151c6d {
  color: #151c6d;
}
Background
.bg-151c6d {
  background-color: #151c6d;
  color: #ffffff;
}
Border
.border-151c6d {
  border: 2px solid #151c6d;
}
CSS variables
:root {
  --color-primary: #151c6d;
  --color-primary-rgb: 21 28 109;
  --color-primary-hsl: 235 68% 25%;
}
Gradient
.gradient-151c6d {
  background: linear-gradient(135deg, #151c6d, #3a156d);
}
Colored shadow
.shadow-151c6d {
  box-shadow: 0 8px 24px rgb(21 28 109 / 0.35);
}

Midnight Blue
#151c6d  rgb(21, 28, 109)  hsl(235, 68%, 25%)  Midnight Blue
#6d6615  rgb(109, 102, 21)  hsl(55, 68%, 25%)  Field Drab
#6d151c  rgb(109, 21, 28)  hsl(355, 68%, 25%)  Rosewood
#1c6d15  rgb(28, 109, 21)  hsl(115, 68%, 25%)  Pakistan Green