#2f184d ≈ Midnight Blue
#2f184d is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 18.43% red, 9.41% green and 30.2% blue; printed in CMYK it uses 38.96% cyan, 68.83% magenta, 0% yellow and 69.8% black. Its hue angle is 266.04°, with 52.48% saturation and 19.8% 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.46:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.85.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0179 |
Shades
#2f184d mixed progressively with black.
Tints
#2f184d mixed progressively with white.
Tones
#2f184d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f184d {
color: #2f184d;
}
.bg-2f184d {
background-color: #2f184d;
color: #ffffff;
}
.border-2f184d {
border: 2px solid #2f184d;
}
:root {
--color-primary: #2f184d;
--color-primary-rgb: 47 24 77;
--color-primary-hsl: 266 52% 20%;
}
.gradient-2f184d {
background: linear-gradient(135deg, #2f184d, #49184d);
}
.shadow-2f184d {
box-shadow: 0 8px 24px rgb(47 24 77 / 0.35);
}
Midnight Blue
#2f184d rgb(47, 24, 77) hsl(266, 52%, 20%) Midnight Blue
#364d18 rgb(54, 77, 24) hsl(86, 52%, 20%) Army Green
#4d2f18 rgb(77, 47, 24) hsl(26, 52%, 20%) Bistre
#184d2f rgb(24, 77, 47) hsl(146, 52%, 20%) British Racing Green