#242766 ≈ Midnight Blue
#242766 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 14.12% red, 15.29% green and 40% blue; printed in CMYK it uses 64.71% cyan, 61.76% magenta, 0% yellow and 60% black. Its hue angle is 237.27°, with 47.83% saturation and 27.06% 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.49:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.22.
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.0279 |
Shades
#242766 mixed progressively with black.
Tints
#242766 mixed progressively with white.
Tones
#242766 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-242766 {
color: #242766;
}
.bg-242766 {
background-color: #242766;
color: #ffffff;
}
.border-242766 {
border: 2px solid #242766;
}
:root {
--color-primary: #242766;
--color-primary-rgb: 36 39 102;
--color-primary-hsl: 237 48% 27%;
}
.gradient-242766 {
background: linear-gradient(135deg, #242766, #422466);
}
.shadow-242766 {
box-shadow: 0 8px 24px rgb(36 39 102 / 0.35);
}
Midnight Blue
#242766 rgb(36, 39, 102) hsl(237, 48%, 27%) Midnight Blue
#666324 rgb(102, 99, 36) hsl(57, 48%, 27%) Army Green
#662427 rgb(102, 36, 39) hsl(357, 48%, 27%) Wine
#276624 rgb(39, 102, 36) hsl(117, 48%, 27%) Dark Green