#30286e ≈ Midnight Blue
#30286e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.82% red, 15.69% green and 43.14% blue; printed in CMYK it uses 56.36% cyan, 63.64% magenta, 0% yellow and 56.86% black. Its hue angle is 246.86°, with 46.67% saturation and 29.41% 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 luxury branding. White text on this color reaches a contrast ratio of 12.69:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.99.
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.0327 |
Shades
#30286e mixed progressively with black.
Tints
#30286e mixed progressively with white.
Tones
#30286e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-30286e {
color: #30286e;
}
.bg-30286e {
background-color: #30286e;
color: #ffffff;
}
.border-30286e {
border: 2px solid #30286e;
}
:root {
--color-primary: #30286e;
--color-primary-rgb: 48 40 110;
--color-primary-hsl: 247 47% 29%;
}
.gradient-30286e {
background: linear-gradient(135deg, #30286e, #53286e);
}
.shadow-30286e {
box-shadow: 0 8px 24px rgb(48 40 110 / 0.35);
}
Midnight Blue
#30286e rgb(48, 40, 110) hsl(247, 47%, 29%) Midnight Blue
#666e28 rgb(102, 110, 40) hsl(67, 47%, 29%) Dark Olive Green
#6e3028 rgb(110, 48, 40) hsl(7, 47%, 29%) Caput Mortuum
#286e30 rgb(40, 110, 48) hsl(127, 47%, 29%) Cadmium Green