#0f0339 ≈ Midnight Blue
#0f0339 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 5.88% red, 1.18% green and 22.35% blue; printed in CMYK it uses 73.68% cyan, 94.74% magenta, 0% yellow and 77.65% black. Its hue angle is 253.33°, with 90% saturation and 11.76% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 19.22:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.14.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0046 |
Shades
#0f0339 mixed progressively with black.
Tints
#0f0339 mixed progressively with white.
Tones
#0f0339 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0f0339 {
color: #0f0339;
}
.bg-0f0339 {
background-color: #0f0339;
color: #ffffff;
}
.border-0f0339 {
border: 2px solid #0f0339;
}
:root {
--color-primary: #0f0339;
--color-primary-rgb: 15 3 57;
--color-primary-hsl: 253 90% 12%;
}
.gradient-0f0339 {
background: linear-gradient(135deg, #0f0339, #2a0339);
}
.shadow-0f0339 {
box-shadow: 0 8px 24px rgb(15 3 57 / 0.35);
}
Midnight Blue
#0f0339 rgb(15, 3, 57) hsl(253, 90%, 12%) Midnight Blue
#2d3903 rgb(45, 57, 3) hsl(73, 90%, 12%) Army Green
#390f03 rgb(57, 15, 3) hsl(13, 90%, 12%) Caput Mortuum
#03390f rgb(3, 57, 15) hsl(133, 90%, 12%) British Racing Green