#1a237d ≈ Midnight Blue
#1a237d is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 10.2% red, 13.73% green and 49.02% blue; printed in CMYK it uses 79.2% cyan, 72% magenta, 0% yellow and 50.98% black. Its hue angle is 234.55°, with 65.56% saturation and 29.61% 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 13.29:1 (WCAG AAA). The closest named color is Midnight Blue (#191970), ΔE 3.11.
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.029 |
Shades
#1a237d mixed progressively with black.
Tints
#1a237d mixed progressively with white.
Tones
#1a237d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-1a237d {
color: #1a237d;
}
.bg-1a237d {
background-color: #1a237d;
color: #ffffff;
}
.border-1a237d {
border: 2px solid #1a237d;
}
:root {
--color-primary: #1a237d;
--color-primary-rgb: 26 35 125;
--color-primary-hsl: 235 66% 30%;
}
.gradient-1a237d {
background: linear-gradient(135deg, #1a237d, #431a7d);
}
.shadow-1a237d {
box-shadow: 0 8px 24px rgb(26 35 125 / 0.35);
}
Midnight Blue
#1a237d rgb(26, 35, 125) hsl(235, 66%, 30%) Midnight Blue
#7d741a rgb(125, 116, 26) hsl(55, 66%, 30%) Olive
#7d1a23 rgb(125, 26, 35) hsl(355, 66%, 30%) Burgundy
#237d1a rgb(35, 125, 26) hsl(115, 66%, 30%) Green