#342145 ≈ Midnight Blue
#342145 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 27.06% blue; printed in CMYK it uses 24.64% cyan, 52.17% magenta, 0% yellow and 72.94% black. Its hue angle is 271.67°, with 35.29% saturation and 20% 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.49:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 13.04.
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.0225 |
Shades
#342145 mixed progressively with black.
Tints
#342145 mixed progressively with white.
Tones
#342145 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342145 {
color: #342145;
}
.bg-342145 {
background-color: #342145;
color: #ffffff;
}
.border-342145 {
border: 2px solid #342145;
}
:root {
--color-primary: #342145;
--color-primary-rgb: 52 33 69;
--color-primary-hsl: 272 35% 20%;
}
.gradient-342145 {
background: linear-gradient(135deg, #342145, #452144);
}
.shadow-342145 {
box-shadow: 0 8px 24px rgb(52 33 69 / 0.35);
}
Midnight Blue
#342145 rgb(52, 33, 69) hsl(272, 35%, 20%) Midnight Blue
#324521 rgb(50, 69, 33) hsl(92, 35%, 20%) Rifle Green
#453421 rgb(69, 52, 33) hsl(32, 35%, 20%) Bistre
#214534 rgb(33, 69, 52) hsl(152, 35%, 20%) Phthalo Green