#140158 ≈ Midnight Blue
#140158 is a color from the violet family, with very low lightness and moderate saturation. In the RGB model it is made of 7.84% red, 0.39% green and 34.51% blue; printed in CMYK it uses 77.27% cyan, 98.86% magenta, 0% yellow and 65.49% black. Its hue angle is 253.1°, with 97.75% saturation and 17.45% 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 17.87:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0088 |
Shades
#140158 mixed progressively with black.
Tints
#140158 mixed progressively with white.
Tones
#140158 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-140158 {
color: #140158;
}
.bg-140158 {
background-color: #140158;
color: #ffffff;
}
.border-140158 {
border: 2px solid #140158;
}
:root {
--color-primary: #140158;
--color-primary-rgb: 20 1 88;
--color-primary-hsl: 253 98% 17%;
}
.gradient-140158 {
background: linear-gradient(135deg, #140158, #3f0158);
}
.shadow-140158 {
box-shadow: 0 8px 24px rgb(20 1 88 / 0.35);
}
Midnight Blue
#140158 rgb(20, 1, 88) hsl(253, 98%, 17%) Midnight Blue
#455801 rgb(69, 88, 1) hsl(73, 98%, 17%) Army Green
#581401 rgb(88, 20, 1) hsl(13, 98%, 17%) Rosewood
#015814 rgb(1, 88, 20) hsl(133, 98%, 17%) Lincoln Green