#23116a ≈ Midnight Blue
#23116a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 13.73% red, 6.67% green and 41.57% blue; printed in CMYK it uses 66.98% cyan, 83.96% magenta, 0% yellow and 58.43% black. Its hue angle is 252.13°, with 72.36% saturation and 24.12% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 15.44:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 2.68.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.018 |
Shades
#23116a mixed progressively with black.
Tints
#23116a mixed progressively with white.
Tones
#23116a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-23116a {
color: #23116a;
}
.bg-23116a {
background-color: #23116a;
color: #ffffff;
}
.border-23116a {
border: 2px solid #23116a;
}
:root {
--color-primary: #23116a;
--color-primary-rgb: 35 17 106;
--color-primary-hsl: 252 72% 24%;
}
.gradient-23116a {
background: linear-gradient(135deg, #23116a, #50116a);
}
.shadow-23116a {
box-shadow: 0 8px 24px rgb(35 17 106 / 0.35);
}
Midnight Blue
#23116a rgb(35, 17, 106) hsl(252, 72%, 24%) Midnight Blue
#586a11 rgb(88, 106, 17) hsl(72, 72%, 24%) Dark Olive Green
#6a2311 rgb(106, 35, 17) hsl(12, 72%, 24%) Falu Red
#116a23 rgb(17, 106, 35) hsl(132, 72%, 24%) Pakistan Green