#28287e ≈ Midnight Blue
#28287e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 15.69% red, 15.69% green and 49.41% blue; printed in CMYK it uses 68.25% cyan, 68.25% magenta, 0% yellow and 50.59% black. Its hue angle is 240°, with 51.81% saturation and 32.55% 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.39:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.27.
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.0348 |
Shades
#28287e mixed progressively with black.
Tints
#28287e mixed progressively with white.
Tones
#28287e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-28287e {
color: #28287e;
}
.bg-28287e {
background-color: #28287e;
color: #ffffff;
}
.border-28287e {
border: 2px solid #28287e;
}
:root {
--color-primary: #28287e;
--color-primary-rgb: 40 40 126;
--color-primary-hsl: 240 52% 33%;
}
.gradient-28287e {
background: linear-gradient(135deg, #28287e, #53287e);
}
.shadow-28287e {
box-shadow: 0 8px 24px rgb(40 40 126 / 0.35);
}
Midnight Blue
#28287e rgb(40, 40, 126) hsl(240, 52%, 33%) Midnight Blue
#7e7e28 rgb(126, 126, 40) hsl(60, 52%, 33%) Olive
#7e2828 rgb(126, 40, 40) hsl(0, 52%, 33%) Falu Red
#287e28 rgb(40, 126, 40) hsl(120, 52%, 33%) Green