#212968 ≈ Midnight Blue
#212968 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 12.94% red, 16.08% green and 40.78% blue; printed in CMYK it uses 68.27% cyan, 60.58% magenta, 0% yellow and 59.22% black. Its hue angle is 233.24°, with 51.82% saturation and 26.86% 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.28:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.66.
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.0291 |
Shades
#212968 mixed progressively with black.
Tints
#212968 mixed progressively with white.
Tones
#212968 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-212968 {
color: #212968;
}
.bg-212968 {
background-color: #212968;
color: #ffffff;
}
.border-212968 {
border: 2px solid #212968;
}
:root {
--color-primary: #212968;
--color-primary-rgb: 33 41 104;
--color-primary-hsl: 233 52% 27%;
}
.gradient-212968 {
background: linear-gradient(135deg, #212968, #3c2168);
}
.shadow-212968 {
box-shadow: 0 8px 24px rgb(33 41 104 / 0.35);
}
Midnight Blue
#212968 rgb(33, 41, 104) hsl(233, 52%, 27%) Midnight Blue
#686021 rgb(104, 96, 33) hsl(53, 52%, 27%) Field Drab
#682129 rgb(104, 33, 41) hsl(353, 52%, 27%) Wine
#296821 rgb(41, 104, 33) hsl(113, 52%, 27%) Pakistan Green