#25104f ≈ Midnight Blue
#25104f 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, 6.27% green and 30.98% blue; printed in CMYK it uses 53.16% cyan, 79.75% magenta, 0% yellow and 69.02% black. Its hue angle is 260°, with 66.32% saturation and 18.63% 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.59:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 6.86.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0133 |
Shades
#25104f mixed progressively with black.
Tints
#25104f mixed progressively with white.
Tones
#25104f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-25104f {
color: #25104f;
}
.bg-25104f {
background-color: #25104f;
color: #ffffff;
}
.border-25104f {
border: 2px solid #25104f;
}
:root {
--color-primary: #25104f;
--color-primary-rgb: 37 16 79;
--color-primary-hsl: 260 66% 19%;
}
.gradient-25104f {
background: linear-gradient(135deg, #25104f, #45104f);
}
.shadow-25104f {
box-shadow: 0 8px 24px rgb(37 16 79 / 0.35);
}
Midnight Blue
#25104f rgb(37, 16, 79) hsl(260, 66%, 19%) Midnight Blue
#3a4f10 rgb(58, 79, 16) hsl(80, 66%, 19%) Army Green
#4f2510 rgb(79, 37, 16) hsl(20, 66%, 19%) Caput Mortuum
#104f25 rgb(16, 79, 37) hsl(140, 66%, 19%) British Racing Green