#34287c ≈ Midnight Blue
#34287c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 20.39% red, 15.69% green and 48.63% blue; printed in CMYK it uses 58.06% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 248.57°, with 51.22% saturation and 32.16% 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 12.06:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.85.
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.037 |
Shades
#34287c mixed progressively with black.
Tints
#34287c mixed progressively with white.
Tones
#34287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-34287c {
color: #34287c;
}
.bg-34287c {
background-color: #34287c;
color: #ffffff;
}
.border-34287c {
border: 2px solid #34287c;
}
:root {
--color-primary: #34287c;
--color-primary-rgb: 52 40 124;
--color-primary-hsl: 249 51% 32%;
}
.gradient-34287c {
background: linear-gradient(135deg, #34287c, #5e287c);
}
.shadow-34287c {
box-shadow: 0 8px 24px rgb(52 40 124 / 0.35);
}
Midnight Blue
#34287c rgb(52, 40, 124) hsl(249, 51%, 32%) Midnight Blue
#707c28 rgb(112, 124, 40) hsl(69, 51%, 32%) Olive
#7c3428 rgb(124, 52, 40) hsl(9, 51%, 32%) Burnt Umber
#287c34 rgb(40, 124, 52) hsl(129, 51%, 32%) Fern Green