#30173D

#30173d ≈ Midnight Blue

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

#30173d is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 18.82% red, 9.02% green and 23.92% blue; printed in CMYK it uses 21.31% cyan, 62.3% magenta, 0% yellow and 76.08% black. Its hue angle is 279.47°, with 45.24% saturation and 16.47% 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 15.96:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 13.34.

Description generated from the measured properties of this color.

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

Readable text 15.96:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #222222 ≈ 0.003% of males
Achromatomaly #281e2f ≈ 0.001% of males
Protanopia #0d203e ≈ 1.01% of males
Deuteranopia #15223c ≈ 1.27% of males
Tritanopia #2f1d27 ≈ 0.0001% of males
Protanomaly #201d3e ≈ 1.08% of males
Deuteranomaly #221e3c ≈ 4.63% of males
Tritanomaly #2f1b31 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-30173d {
  color: #30173d;
}
Background
.bg-30173d {
  background-color: #30173d;
  color: #ffffff;
}
Border
.border-30173d {
  border: 2px solid #30173d;
}
CSS variables
:root {
  --color-primary: #30173d;
  --color-primary-rgb: 48 23 61;
  --color-primary-hsl: 279 45% 16%;
}
Gradient
.gradient-30173d {
  background: linear-gradient(135deg, #30173d, #3d1737);
}
Colored shadow
.shadow-30173d {
  box-shadow: 0 8px 24px rgb(48 23 61 / 0.35);
}

Midnight Blue
#30173d  rgb(48, 23, 61)  hsl(279, 45%, 16%)  Midnight Blue
#243d17  rgb(36, 61, 23)  hsl(99, 45%, 16%)  British Racing Green
#3d3017  rgb(61, 48, 23)  hsl(39, 45%, 16%)  Bistre
#173d30  rgb(23, 61, 48)  hsl(159, 45%, 16%)  Phthalo Green