#0f0236 ≈ Midnight Blue
#0f0236 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, 0.78% green and 21.18% blue; printed in CMYK it uses 72.22% cyan, 96.3% magenta, 0% yellow and 78.82% black. Its hue angle is 255°, with 92.86% saturation and 10.98% 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.4:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 10.76.
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.0041 |
Shades
#0f0236 mixed progressively with black.
Tints
#0f0236 mixed progressively with white.
Tones
#0f0236 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0f0236 {
color: #0f0236;
}
.bg-0f0236 {
background-color: #0f0236;
color: #ffffff;
}
.border-0f0236 {
border: 2px solid #0f0236;
}
:root {
--color-primary: #0f0236;
--color-primary-rgb: 15 2 54;
--color-primary-hsl: 255 93% 11%;
}
.gradient-0f0236 {
background: linear-gradient(135deg, #0f0236, #290236);
}
.shadow-0f0236 {
box-shadow: 0 8px 24px rgb(15 2 54 / 0.35);
}
Midnight Blue
#0f0236 rgb(15, 2, 54) hsl(255, 93%, 11%) Midnight Blue
#293602 rgb(41, 54, 2) hsl(75, 93%, 11%) Army Green
#360f02 rgb(54, 15, 2) hsl(15, 93%, 11%) Caput Mortuum
#02360f rgb(2, 54, 15) hsl(135, 93%, 11%) British Racing Green