#20287c ≈ Midnight Blue
#20287c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 12.55% red, 15.69% green and 48.63% blue; printed in CMYK it uses 74.19% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 234.78°, with 58.97% saturation and 30.59% 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.68:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.24.
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.0328 |
Shades
#20287c mixed progressively with black.
Tints
#20287c mixed progressively with white.
Tones
#20287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-20287c {
color: #20287c;
}
.bg-20287c {
background-color: #20287c;
color: #ffffff;
}
.border-20287c {
border: 2px solid #20287c;
}
:root {
--color-primary: #20287c;
--color-primary-rgb: 32 40 124;
--color-primary-hsl: 235 59% 31%;
}
.gradient-20287c {
background: linear-gradient(135deg, #20287c, #46207c);
}
.shadow-20287c {
box-shadow: 0 8px 24px rgb(32 40 124 / 0.35);
}
Midnight Blue
#20287c rgb(32, 40, 124) hsl(235, 59%, 31%) Midnight Blue
#7c7420 rgb(124, 116, 32) hsl(55, 59%, 31%) Olive
#7c2028 rgb(124, 32, 40) hsl(355, 59%, 31%) Burgundy
#287c20 rgb(40, 124, 32) hsl(115, 59%, 31%) Green