#342b77 ≈ Midnight Blue
#342b77 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 20.39% red, 16.86% green and 46.67% blue; printed in CMYK it uses 56.3% cyan, 63.87% magenta, 0% yellow and 53.33% black. Its hue angle is 247.11°, with 46.91% saturation and 31.76% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and corporate identities. White text on this color reaches a contrast ratio of 11.95:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.48.
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.0379 |
Shades
#342b77 mixed progressively with black.
Tints
#342b77 mixed progressively with white.
Tones
#342b77 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-342b77 {
color: #342b77;
}
.bg-342b77 {
background-color: #342b77;
color: #ffffff;
}
.border-342b77 {
border: 2px solid #342b77;
}
:root {
--color-primary: #342b77;
--color-primary-rgb: 52 43 119;
--color-primary-hsl: 247 47% 32%;
}
.gradient-342b77 {
background: linear-gradient(135deg, #342b77, #5a2b77);
}
.shadow-342b77 {
box-shadow: 0 8px 24px rgb(52 43 119 / 0.35);
}
Midnight Blue
#342b77 rgb(52, 43, 119) hsl(247, 47%, 32%) Midnight Blue
#6e772b rgb(110, 119, 43) hsl(67, 47%, 32%) Olive
#77342b rgb(119, 52, 43) hsl(7, 47%, 32%) Burnt Umber
#2b7734 rgb(43, 119, 52) hsl(127, 47%, 32%) Fern Green