#30173d ≈ Midnight Blue
#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.
| 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 luminance | 0.0158 |
Shades
#30173d mixed progressively with black.
Tints
#30173d mixed progressively with white.
Tones
#30173d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-30173d {
color: #30173d;
}
.bg-30173d {
background-color: #30173d;
color: #ffffff;
}
.border-30173d {
border: 2px solid #30173d;
}
:root {
--color-primary: #30173d;
--color-primary-rgb: 48 23 61;
--color-primary-hsl: 279 45% 16%;
}
.gradient-30173d {
background: linear-gradient(135deg, #30173d, #3d1737);
}
.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