#12515e ≈ Midnight Green
#12515e is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 7.06% red, 31.76% green and 36.86% blue; printed in CMYK it uses 80.85% cyan, 13.83% magenta, 0% yellow and 63.14% black. Its hue angle is 190.26°, with 67.86% saturation and 21.96% lightness in HSL. It is a cool color, often associated with freshness, technology and clarity. Designers typically use it for health and wellness, technology products and luxury branding. White text on this color reaches a contrast ratio of 8.88:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 3.21.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #006666 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0682 |
Shades
#12515e mixed progressively with black.
Tints
#12515e mixed progressively with white.
Tones
#12515e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-12515e {
color: #12515e;
}
.bg-12515e {
background-color: #12515e;
color: #ffffff;
}
.border-12515e {
border: 2px solid #12515e;
}
:root {
--color-primary: #12515e;
--color-primary-rgb: 18 81 94;
--color-primary-hsl: 190 68% 22%;
}
.gradient-12515e {
background: linear-gradient(135deg, #12515e, #122b5e);
}
.shadow-12515e {
box-shadow: 0 8px 24px rgb(18 81 94 / 0.35);
}
Midnight Green
#12515e rgb(18, 81, 94) hsl(190, 68%, 22%) Midnight Green
#5e1f12 rgb(94, 31, 18) hsl(10, 68%, 22%) Caput Mortuum
#5e1251 rgb(94, 18, 81) hsl(310, 68%, 22%) Byzantium
#515e12 rgb(81, 94, 18) hsl(70, 68%, 22%) Army Green