#30287c ≈ Midnight Blue
#30287c 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 48.63% blue; printed in CMYK it uses 61.29% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 245.71°, 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.21:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.53.
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.036 |
Shades
#30287c mixed progressively with black.
Tints
#30287c mixed progressively with white.
Tones
#30287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-30287c {
color: #30287c;
}
.bg-30287c {
background-color: #30287c;
color: #ffffff;
}
.border-30287c {
border: 2px solid #30287c;
}
:root {
--color-primary: #30287c;
--color-primary-rgb: 48 40 124;
--color-primary-hsl: 246 51% 32%;
}
.gradient-30287c {
background: linear-gradient(135deg, #30287c, #5a287c);
}
.shadow-30287c {
box-shadow: 0 8px 24px rgb(48 40 124 / 0.35);
}
Midnight Blue
#30287c rgb(48, 40, 124) hsl(246, 51%, 32%) Midnight Blue
#747c28 rgb(116, 124, 40) hsl(66, 51%, 32%) Olive
#7c3028 rgb(124, 48, 40) hsl(6, 51%, 32%) Burnt Umber
#287c30 rgb(40, 124, 48) hsl(126, 51%, 32%) Green