#342149 ≈ Midnight Blue
#342149 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 20.39% red, 12.94% green and 28.63% blue; printed in CMYK it uses 28.77% cyan, 54.79% magenta, 0% yellow and 71.37% black. Its hue angle is 268.5°, with 37.74% saturation and 20.78% 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 14.39:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 11.83.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.023 |
Shades
#342149 mixed progressively with black.
Tints
#342149 mixed progressively with white.
Tones
#342149 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342149 {
color: #342149;
}
.bg-342149 {
background-color: #342149;
color: #ffffff;
}
.border-342149 {
border: 2px solid #342149;
}
:root {
--color-primary: #342149;
--color-primary-rgb: 52 33 73;
--color-primary-hsl: 269 38% 21%;
}
.gradient-342149 {
background: linear-gradient(135deg, #342149, #482149);
}
.shadow-342149 {
box-shadow: 0 8px 24px rgb(52 33 73 / 0.35);
}
Midnight Blue
#342149 rgb(52, 33, 73) hsl(269, 38%, 21%) Midnight Blue
#364921 rgb(54, 73, 33) hsl(89, 38%, 21%) Army Green
#493421 rgb(73, 52, 33) hsl(29, 38%, 21%) Bistre
#214934 rgb(33, 73, 52) hsl(149, 38%, 21%) British Racing Green