#0a4e5f ≈ Midnight Green
#0a4e5f is a color from the cyan family, with low lightness and moderate saturation. In the RGB model it is made of 3.92% red, 30.59% green and 37.25% blue; printed in CMYK it uses 89.47% cyan, 17.89% magenta, 0% yellow and 62.75% black. Its hue angle is 192°, with 80.95% saturation and 20.59% 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 9.26:1 (WCAG AAA). The closest named color is Midnight Green (#004953), ΔE 4.03.
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.0634 |
Shades
#0a4e5f mixed progressively with black.
Tints
#0a4e5f mixed progressively with white.
Tones
#0a4e5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0a4e5f {
color: #0a4e5f;
}
.bg-0a4e5f {
background-color: #0a4e5f;
color: #ffffff;
}
.border-0a4e5f {
border: 2px solid #0a4e5f;
}
:root {
--color-primary: #0a4e5f;
--color-primary-rgb: 10 78 95;
--color-primary-hsl: 192 81% 21%;
}
.gradient-0a4e5f {
background: linear-gradient(135deg, #0a4e5f, #0a245f);
}
.shadow-0a4e5f {
box-shadow: 0 8px 24px rgb(10 78 95 / 0.35);
}
Midnight Green
#0a4e5f rgb(10, 78, 95) hsl(192, 81%, 21%) Midnight Green
#5f1b0a rgb(95, 27, 10) hsl(12, 81%, 21%) Rosewood
#5f0a4e rgb(95, 10, 78) hsl(312, 81%, 21%) Tyrian Purple
#4e5f0a rgb(78, 95, 10) hsl(72, 81%, 21%) Dark Olive Green