#25287c ≈ Midnight Blue
#25287c is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 14.51% red, 15.69% green and 48.63% blue; printed in CMYK it uses 70.16% cyan, 67.74% magenta, 0% yellow and 51.37% black. Its hue angle is 237.93°, with 54.04% saturation and 31.57% 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 corporate identities. White text on this color reaches a contrast ratio of 12.55:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 4.18.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0337 |
Shades
#25287c mixed progressively with black.
Tints
#25287c mixed progressively with white.
Tones
#25287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-25287c {
color: #25287c;
}
.bg-25287c {
background-color: #25287c;
color: #ffffff;
}
.border-25287c {
border: 2px solid #25287c;
}
:root {
--color-primary: #25287c;
--color-primary-rgb: 37 40 124;
--color-primary-hsl: 238 54% 32%;
}
.gradient-25287c {
background: linear-gradient(135deg, #25287c, #4e257c);
}
.shadow-25287c {
box-shadow: 0 8px 24px rgb(37 40 124 / 0.35);
}
Midnight Blue
#25287c rgb(37, 40, 124) hsl(238, 54%, 32%) Midnight Blue
#7c7925 rgb(124, 121, 37) hsl(58, 54%, 32%) Olive
#7c2528 rgb(124, 37, 40) hsl(358, 54%, 32%) Falu Red
#287c25 rgb(40, 124, 37) hsl(118, 54%, 32%) Green