#045262 ≈ Midnight Green
#045262 is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 32.16% green and 38.43% blue; printed in CMYK it uses 95.92% cyan, 16.33% magenta, 0% yellow and 61.57% black. Its hue angle is 190.21°, with 92.16% saturation and 20% 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.79:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 3.94.
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.0694 |
Shades
#045262 mixed progressively with black.
Tints
#045262 mixed progressively with white.
Tones
#045262 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-045262 {
color: #045262;
}
.bg-045262 {
background-color: #045262;
color: #ffffff;
}
.border-045262 {
border: 2px solid #045262;
}
:root {
--color-primary: #045262;
--color-primary-rgb: 4 82 98;
--color-primary-hsl: 190 92% 20%;
}
.gradient-045262 {
background: linear-gradient(135deg, #045262, #042362);
}
.shadow-045262 {
box-shadow: 0 8px 24px rgb(4 82 98 / 0.35);
}
Midnight Green
#045262 rgb(4, 82, 98) hsl(190, 92%, 20%) Midnight Green
#621404 rgb(98, 20, 4) hsl(10, 92%, 20%) Rosewood
#620452 rgb(98, 4, 82) hsl(310, 92%, 20%) Byzantium
#526204 rgb(82, 98, 4) hsl(70, 92%, 20%) Dark Olive Green