#22226e ≈ Midnight Blue
#22226e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 13.33% red, 13.33% green and 43.14% blue; printed in CMYK it uses 69.09% cyan, 69.09% magenta, 0% yellow and 56.86% black. Its hue angle is 240°, with 52.78% saturation and 28.24% 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.8:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.73.
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.0261 |
Shades
#22226e mixed progressively with black.
Tints
#22226e mixed progressively with white.
Tones
#22226e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-22226e {
color: #22226e;
}
.bg-22226e {
background-color: #22226e;
color: #ffffff;
}
.border-22226e {
border: 2px solid #22226e;
}
:root {
--color-primary: #22226e;
--color-primary-rgb: 34 34 110;
--color-primary-hsl: 240 53% 28%;
}
.gradient-22226e {
background: linear-gradient(135deg, #22226e, #48226e);
}
.shadow-22226e {
box-shadow: 0 8px 24px rgb(34 34 110 / 0.35);
}
Midnight Blue
#22226e rgb(34, 34, 110) hsl(240, 53%, 28%) Midnight Blue
#6e6e22 rgb(110, 110, 34) hsl(60, 53%, 28%) Dark Olive Green
#6e2222 rgb(110, 34, 34) hsl(0, 53%, 28%) Falu Red
#226e22 rgb(34, 110, 34) hsl(120, 53%, 28%) Pakistan Green