#000540 ≈ Midnight Blue
#000540 is a color from the blue family, with very low lightness and moderate saturation. In the RGB model it is made of 0% red, 1.96% green and 25.1% blue; printed in CMYK it uses 100% cyan, 92.19% magenta, 0% yellow and 74.9% black. Its hue angle is 235.31°, with 100% saturation and 12.55% 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 19.17:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 8.76.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0048 |
Shades
#000540 mixed progressively with black.
Tints
#000540 mixed progressively with white.
Tones
#000540 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-000540 {
color: #000540;
}
.bg-000540 {
background-color: #000540;
color: #ffffff;
}
.border-000540 {
border: 2px solid #000540;
}
:root {
--color-primary: #000540;
--color-primary-rgb: 0 5 64;
--color-primary-hsl: 235 100% 13%;
}
.gradient-000540 {
background: linear-gradient(135deg, #000540, #1b0040);
}
.shadow-000540 {
box-shadow: 0 8px 24px rgb(0 5 64 / 0.35);
}
Midnight Blue
#000540 rgb(0, 5, 64) hsl(235, 100%, 13%) Midnight Blue
#403b00 rgb(64, 59, 0) hsl(55, 100%, 13%) Army Green
#400005 rgb(64, 0, 5) hsl(355, 100%, 13%) Rosewood
#054000 rgb(5, 64, 0) hsl(115, 100%, 13%) Lincoln Green