#222762 ≈ Midnight Blue
#222762 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.29% green and 38.43% blue; printed in CMYK it uses 65.31% cyan, 60.2% magenta, 0% yellow and 61.57% black. Its hue angle is 235.31°, with 48.48% saturation and 25.88% 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 13.68:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.85.
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.0267 |
Shades
#222762 mixed progressively with black.
Tints
#222762 mixed progressively with white.
Tones
#222762 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-222762 {
color: #222762;
}
.bg-222762 {
background-color: #222762;
color: #ffffff;
}
.border-222762 {
border: 2px solid #222762;
}
:root {
--color-primary: #222762;
--color-primary-rgb: 34 39 98;
--color-primary-hsl: 235 48% 26%;
}
.gradient-222762 {
background: linear-gradient(135deg, #222762, #3d2262);
}
.shadow-222762 {
box-shadow: 0 8px 24px rgb(34 39 98 / 0.35);
}
Midnight Blue
#222762 rgb(34, 39, 98) hsl(235, 48%, 26%) Midnight Blue
#625d22 rgb(98, 93, 34) hsl(55, 48%, 26%) Army Green
#622227 rgb(98, 34, 39) hsl(355, 48%, 26%) Wine
#276222 rgb(39, 98, 34) hsl(115, 48%, 26%) Lincoln Green