#302c6e ≈ Midnight Blue
#302c6e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.82% red, 17.25% green and 43.14% blue; printed in CMYK it uses 56.36% cyan, 60% magenta, 0% yellow and 56.86% black. Its hue angle is 243.64°, with 42.86% saturation and 30.2% 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.27:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.05.
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.0356 |
Shades
#302c6e mixed progressively with black.
Tints
#302c6e mixed progressively with white.
Tones
#302c6e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-302c6e {
color: #302c6e;
}
.bg-302c6e {
background-color: #302c6e;
color: #ffffff;
}
.border-302c6e {
border: 2px solid #302c6e;
}
:root {
--color-primary: #302c6e;
--color-primary-rgb: 48 44 110;
--color-primary-hsl: 244 43% 30%;
}
.gradient-302c6e {
background: linear-gradient(135deg, #302c6e, #512c6e);
}
.shadow-302c6e {
box-shadow: 0 8px 24px rgb(48 44 110 / 0.35);
}
Midnight Blue
#302c6e rgb(48, 44, 110) hsl(244, 43%, 30%) Midnight Blue
#6a6e2c rgb(106, 110, 44) hsl(64, 43%, 30%) Dark Olive Green
#6e302c rgb(110, 48, 44) hsl(4, 43%, 30%) Wine
#2c6e30 rgb(44, 110, 48) hsl(124, 43%, 30%) Cadmium Green