#18236a ≈ Midnight Blue
#18236a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 9.41% red, 13.73% green and 41.57% blue; printed in CMYK it uses 77.36% cyan, 66.98% magenta, 0% yellow and 58.43% black. Its hue angle is 231.95°, with 63.08% saturation and 25.49% 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.12:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.73.
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.0244 |
Shades
#18236a mixed progressively with black.
Tints
#18236a mixed progressively with white.
Tones
#18236a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-18236a {
color: #18236a;
}
.bg-18236a {
background-color: #18236a;
color: #ffffff;
}
.border-18236a {
border: 2px solid #18236a;
}
:root {
--color-primary: #18236a;
--color-primary-rgb: 24 35 106;
--color-primary-hsl: 232 63% 25%;
}
.gradient-18236a {
background: linear-gradient(135deg, #18236a, #36186a);
}
.shadow-18236a {
box-shadow: 0 8px 24px rgb(24 35 106 / 0.35);
}
Midnight Blue
#18236a rgb(24, 35, 106) hsl(232, 63%, 25%) Midnight Blue
#6a5f18 rgb(106, 95, 24) hsl(52, 63%, 25%) Field Drab
#6a1823 rgb(106, 24, 35) hsl(352, 63%, 25%) Burgundy
#236a18 rgb(35, 106, 24) hsl(112, 63%, 25%) Pakistan Green