#342756 ≈ Midnight Blue
#342756 is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 20.39% red, 15.29% green and 33.73% blue; printed in CMYK it uses 39.53% cyan, 54.65% magenta, 0% yellow and 66.27% black. Its hue angle is 256.6°, with 37.6% saturation and 24.51% 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.37:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.45.
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.0285 |
Shades
#342756 mixed progressively with black.
Tints
#342756 mixed progressively with white.
Tones
#342756 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342756 {
color: #342756;
}
.bg-342756 {
background-color: #342756;
color: #ffffff;
}
.border-342756 {
border: 2px solid #342756;
}
:root {
--color-primary: #342756;
--color-primary-rgb: 52 39 86;
--color-primary-hsl: 257 38% 25%;
}
.gradient-342756 {
background: linear-gradient(135deg, #342756, #4c2756);
}
.shadow-342756 {
box-shadow: 0 8px 24px rgb(52 39 86 / 0.35);
}
Midnight Blue
#342756 rgb(52, 39, 86) hsl(257, 38%, 25%) Midnight Blue
#495627 rgb(73, 86, 39) hsl(77, 38%, 25%) Army Green
#563427 rgb(86, 52, 39) hsl(17, 38%, 25%) Caput Mortuum
#275634 rgb(39, 86, 52) hsl(137, 38%, 25%) Hunter Green