#190840 ≈ Midnight Blue
#190840 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 9.8% red, 3.14% green and 25.1% blue; printed in CMYK it uses 60.94% cyan, 87.5% magenta, 0% yellow and 74.9% black. Its hue angle is 258.21°, with 77.78% saturation and 14.12% 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 18.26:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 9.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.0075 |
Shades
#190840 mixed progressively with black.
Tints
#190840 mixed progressively with white.
Tones
#190840 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-190840 {
color: #190840;
}
.bg-190840 {
background-color: #190840;
color: #ffffff;
}
.border-190840 {
border: 2px solid #190840;
}
:root {
--color-primary: #190840;
--color-primary-rgb: 25 8 64;
--color-primary-hsl: 258 78% 14%;
}
.gradient-190840 {
background: linear-gradient(135deg, #190840, #350840);
}
.shadow-190840 {
box-shadow: 0 8px 24px rgb(25 8 64 / 0.35);
}
Midnight Blue
#190840 rgb(25, 8, 64) hsl(258, 78%, 14%) Midnight Blue
#2f4008 rgb(47, 64, 8) hsl(78, 78%, 14%) Army Green
#401908 rgb(64, 25, 8) hsl(18, 78%, 14%) Caput Mortuum
#084019 rgb(8, 64, 25) hsl(138, 78%, 14%) British Racing Green