#170348

#170348 ≈ Midnight Blue

  • violet
  • Lightness: very low
  • Saturation: moderate
  • Cool

#170348 is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 9.02% red, 1.18% green and 28.24% blue; printed in CMYK it uses 68.06% cyan, 95.83% magenta, 0% yellow and 71.76% black. Its hue angle is 257.39°, with 92% saturation and 14.71% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 18.37:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.92.

Description generated from the measured properties of this color.

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

Readable text 18.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #141414 ≈ 0.003% of males
Achromatomaly #150f31 ≈ 0.001% of males
Protanopia #00164a ≈ 1.01% of males
Deuteranopia #001247 ≈ 1.27% of males
Tritanopia #001927 ≈ 0.0001% of males
Protanomaly #001049 ≈ 1.08% of males
Deuteranomaly #000d47 ≈ 4.63% of males
Tritanomaly #0a1237 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-170348 {
  color: #170348;
}
Background
.bg-170348 {
  background-color: #170348;
  color: #ffffff;
}
Border
.border-170348 {
  border: 2px solid #170348;
}
CSS variables
:root {
  --color-primary: #170348;
  --color-primary-rgb: 23 3 72;
  --color-primary-hsl: 257 92% 15%;
}
Gradient
.gradient-170348 {
  background: linear-gradient(135deg, #170348, #3a0348);
}
Colored shadow
.shadow-170348 {
  box-shadow: 0 8px 24px rgb(23 3 72 / 0.35);
}

Midnight Blue
#170348  rgb(23, 3, 72)  hsl(257, 92%, 15%)  Midnight Blue
#344803  rgb(52, 72, 3)  hsl(77, 92%, 15%)  Army Green
#481703  rgb(72, 23, 3)  hsl(17, 92%, 15%)  Caput Mortuum
#034817  rgb(3, 72, 23)  hsl(137, 92%, 15%)  British Racing Green