#1f5a67 ≈ Midnight Green
#1f5a67 is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 12.16% red, 35.29% green and 40.39% blue; printed in CMYK it uses 69.9% cyan, 12.62% magenta, 0% yellow and 59.61% black. Its hue angle is 190.83°, with 53.73% saturation and 26.27% 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 7.73:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 6.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #336666 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0858 |
Shades
#1f5a67 mixed progressively with black.
Tints
#1f5a67 mixed progressively with white.
Tones
#1f5a67 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1f5a67 {
color: #1f5a67;
}
.bg-1f5a67 {
background-color: #1f5a67;
color: #ffffff;
}
.border-1f5a67 {
border: 2px solid #1f5a67;
}
:root {
--color-primary: #1f5a67;
--color-primary-rgb: 31 90 103;
--color-primary-hsl: 191 54% 26%;
}
.gradient-1f5a67 {
background: linear-gradient(135deg, #1f5a67, #1f3667);
}
.shadow-1f5a67 {
box-shadow: 0 8px 24px rgb(31 90 103 / 0.35);
}
Midnight Green
#1f5a67 rgb(31, 90, 103) hsl(191, 54%, 26%) Midnight Green
#672c1f rgb(103, 44, 31) hsl(11, 54%, 26%) Caput Mortuum
#671f5a rgb(103, 31, 90) hsl(311, 54%, 26%) Byzantium
#5a671f rgb(90, 103, 31) hsl(71, 54%, 26%) Dark Olive Green