#38245d ≈ Midnight Blue
#38245d is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 21.96% red, 14.12% green and 36.47% blue; printed in CMYK it uses 39.78% cyan, 61.29% magenta, 0% yellow and 63.53% black. Its hue angle is 261.05°, with 44.19% saturation and 25.29% 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 13.3:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 7.92.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0289 |
Shades
#38245d mixed progressively with black.
Tints
#38245d mixed progressively with white.
Tones
#38245d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-38245d {
color: #38245d;
}
.bg-38245d {
background-color: #38245d;
color: #ffffff;
}
.border-38245d {
border: 2px solid #38245d;
}
:root {
--color-primary: #38245d;
--color-primary-rgb: 56 36 93;
--color-primary-hsl: 261 44% 25%;
}
.gradient-38245d {
background: linear-gradient(135deg, #38245d, #54245d);
}
.shadow-38245d {
box-shadow: 0 8px 24px rgb(56 36 93 / 0.35);
}
Midnight Blue
#38245d rgb(56, 36, 93) hsl(261, 44%, 25%) Midnight Blue
#495d24 rgb(73, 93, 36) hsl(81, 44%, 25%) Army Green
#5d3824 rgb(93, 56, 36) hsl(21, 44%, 25%) Coffee
#245d38 rgb(36, 93, 56) hsl(141, 44%, 25%) Hunter Green