#251247 ≈ Midnight Blue
#251247 is a color from the violet family, with very low lightness and muted saturation. In the RGB model it is made of 14.51% red, 7.06% green and 27.84% blue; printed in CMYK it uses 47.89% cyan, 74.65% magenta, 0% yellow and 72.16% black. Its hue angle is 261.51°, with 59.55% 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 16.72:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.65.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0128 |
Shades
#251247 mixed progressively with black.
Tints
#251247 mixed progressively with white.
Tones
#251247 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-251247 {
color: #251247;
}
.bg-251247 {
background-color: #251247;
color: #ffffff;
}
.border-251247 {
border: 2px solid #251247;
}
:root {
--color-primary: #251247;
--color-primary-rgb: 37 18 71;
--color-primary-hsl: 262 60% 17%;
}
.gradient-251247 {
background: linear-gradient(135deg, #251247, #3f1247);
}
.shadow-251247 {
box-shadow: 0 8px 24px rgb(37 18 71 / 0.35);
}
Midnight Blue
#251247 rgb(37, 18, 71) hsl(262, 60%, 17%) Midnight Blue
#344712 rgb(52, 71, 18) hsl(82, 60%, 17%) Army Green
#472512 rgb(71, 37, 18) hsl(22, 60%, 17%) Bistre
#124725 rgb(18, 71, 37) hsl(142, 60%, 17%) British Racing Green