#04236a ≈ Midnight Blue
#04236a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 1.57% red, 13.73% green and 41.57% blue; printed in CMYK it uses 96.23% cyan, 66.98% magenta, 0% yellow and 58.43% black. Its hue angle is 221.76°, with 92.73% saturation and 21.57% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 14.45:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.79.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0227 |
Shades
#04236a mixed progressively with black.
Tints
#04236a mixed progressively with white.
Tones
#04236a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-04236a {
color: #04236a;
}
.bg-04236a {
background-color: #04236a;
color: #ffffff;
}
.border-04236a {
border: 2px solid #04236a;
}
:root {
--color-primary: #04236a;
--color-primary-rgb: 4 35 106;
--color-primary-hsl: 222 93% 22%;
}
.gradient-04236a {
background: linear-gradient(135deg, #04236a, #18046a);
}
.shadow-04236a {
box-shadow: 0 8px 24px rgb(4 35 106 / 0.35);
}
Midnight Blue
#04236a rgb(4, 35, 106) hsl(222, 93%, 22%) Midnight Blue
#6a4b04 rgb(106, 75, 4) hsl(42, 93%, 22%) Field Drab
#6a0423 rgb(106, 4, 35) hsl(342, 93%, 22%) Claret
#236a04 rgb(35, 106, 4) hsl(102, 93%, 22%) Pakistan Green