#342956 ≈ Midnight Blue
#342956 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 20.39% red, 16.08% green and 33.73% blue; printed in CMYK it uses 39.53% cyan, 52.33% magenta, 0% yellow and 66.27% black. Its hue angle is 254.67°, with 35.43% saturation and 24.9% 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.15:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.9.
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.0299 |
Shades
#342956 mixed progressively with black.
Tints
#342956 mixed progressively with white.
Tones
#342956 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342956 {
color: #342956;
}
.bg-342956 {
background-color: #342956;
color: #ffffff;
}
.border-342956 {
border: 2px solid #342956;
}
:root {
--color-primary: #342956;
--color-primary-rgb: 52 41 86;
--color-primary-hsl: 255 35% 25%;
}
.gradient-342956 {
background: linear-gradient(135deg, #342956, #4a2956);
}
.shadow-342956 {
box-shadow: 0 8px 24px rgb(52 41 86 / 0.35);
}
Midnight Blue
#342956 rgb(52, 41, 86) hsl(255, 35%, 25%) Midnight Blue
#4b5629 rgb(75, 86, 41) hsl(75, 35%, 25%) Army Green
#563429 rgb(86, 52, 41) hsl(15, 35%, 25%) Caput Mortuum
#295634 rgb(41, 86, 52) hsl(135, 35%, 25%) Hunter Green