#121e5f ≈ Midnight Blue
#121e5f is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 7.06% red, 11.76% green and 37.25% blue; printed in CMYK it uses 81.05% cyan, 68.42% magenta, 0% yellow and 62.75% black. Its hue angle is 230.65°, with 68.14% saturation and 22.16% 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 15.25:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.23.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0188 |
Shades
#121e5f mixed progressively with black.
Tints
#121e5f mixed progressively with white.
Tones
#121e5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-121e5f {
color: #121e5f;
}
.bg-121e5f {
background-color: #121e5f;
color: #ffffff;
}
.border-121e5f {
border: 2px solid #121e5f;
}
:root {
--color-primary: #121e5f;
--color-primary-rgb: 18 30 95;
--color-primary-hsl: 231 68% 22%;
}
.gradient-121e5f {
background: linear-gradient(135deg, #121e5f, #2d125f);
}
.shadow-121e5f {
box-shadow: 0 8px 24px rgb(18 30 95 / 0.35);
}
Midnight Blue
#121e5f rgb(18, 30, 95) hsl(231, 68%, 22%) Midnight Blue
#5f5312 rgb(95, 83, 18) hsl(51, 68%, 22%) Field Drab
#5f121e rgb(95, 18, 30) hsl(351, 68%, 22%) Rosewood
#1e5f12 rgb(30, 95, 18) hsl(111, 68%, 22%) Lincoln Green