#15175B

#15175b ≈ Midnight Blue

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

#15175b is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 8.24% red, 9.02% green and 35.69% blue; printed in CMYK it uses 76.92% cyan, 74.73% magenta, 0% yellow and 64.31% black. Its hue angle is 238.29°, 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 16.09:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.71.

Description generated from the measured properties of this color.

Conversions of #15175b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#000066
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0153

Readable text 16.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #212121 ≈ 0.003% of males
Achromatomaly #1d1d40 ≈ 0.001% of males
Protanopia #00245d ≈ 1.01% of males
Deuteranopia #001e5a ≈ 1.27% of males
Tritanopia #002a37 ≈ 0.0001% of males
Protanomaly #00205c ≈ 1.08% of males
Deuteranomaly #001b5a ≈ 4.63% of males
Tritanomaly #002348 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Midnight Blue
#15175b  rgb(21, 23, 91)  hsl(238, 63%, 22%)  Midnight Blue
#5b5915  rgb(91, 89, 21)  hsl(58, 63%, 22%)  Army Green
#5b1517  rgb(91, 21, 23)  hsl(358, 63%, 22%)  Rosewood
#175b15  rgb(23, 91, 21)  hsl(118, 63%, 22%)  Lincoln Green