#02256e ≈ Midnight Blue
#02256e is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 0.78% red, 14.51% green and 43.14% blue; printed in CMYK it uses 98.18% cyan, 66.36% magenta, 0% yellow and 56.86% black. Its hue angle is 220.56°, with 96.43% saturation and 21.96% 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 luxury branding. White text on this color reaches a contrast ratio of 14.07:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 5.14.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0246 |
Shades
#02256e mixed progressively with black.
Tints
#02256e mixed progressively with white.
Tones
#02256e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-02256e {
color: #02256e;
}
.bg-02256e {
background-color: #02256e;
color: #ffffff;
}
.border-02256e {
border: 2px solid #02256e;
}
:root {
--color-primary: #02256e;
--color-primary-rgb: 2 37 110;
--color-primary-hsl: 221 96% 22%;
}
.gradient-02256e {
background: linear-gradient(135deg, #02256e, #15026e);
}
.shadow-02256e {
box-shadow: 0 8px 24px rgb(2 37 110 / 0.35);
}
Midnight Blue
#02256e rgb(2, 37, 110) hsl(221, 96%, 22%) Midnight Blue
#6e4b02 rgb(110, 75, 2) hsl(41, 96%, 22%) Field Drab
#6e0225 rgb(110, 2, 37) hsl(341, 96%, 22%) Claret
#256e02 rgb(37, 110, 2) hsl(101, 96%, 22%) Pakistan Green