#22287c ≈ Midnight Blue
#22287c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 13.33% red, 15.69% green and 48.63% blue; printed in CMYK it uses 72.58% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 236°, with 56.96% saturation and 30.98% 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.63:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.2.
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.0331 |
Shades
#22287c mixed progressively with black.
Tints
#22287c mixed progressively with white.
Tones
#22287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-22287c {
color: #22287c;
}
.bg-22287c {
background-color: #22287c;
color: #ffffff;
}
.border-22287c {
border: 2px solid #22287c;
}
:root {
--color-primary: #22287c;
--color-primary-rgb: 34 40 124;
--color-primary-hsl: 236 57% 31%;
}
.gradient-22287c {
background: linear-gradient(135deg, #22287c, #49227c);
}
.shadow-22287c {
box-shadow: 0 8px 24px rgb(34 40 124 / 0.35);
}
Midnight Blue
#22287c rgb(34, 40, 124) hsl(236, 57%, 31%) Midnight Blue
#7c7622 rgb(124, 118, 34) hsl(56, 57%, 31%) Olive
#7c2228 rgb(124, 34, 40) hsl(356, 57%, 31%) Burgundy
#287c22 rgb(40, 124, 34) hsl(116, 57%, 31%) Green