#2a42a7 ≈ Cobalt Blue
#2a42a7 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 16.47% red, 25.88% green and 65.49% blue; printed in CMYK it uses 74.85% cyan, 60.48% magenta, 0% yellow and 34.51% black. Its hue angle is 228.48°, with 59.81% saturation and 40.98% 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 brand accents. White text on this color reaches a contrast ratio of 8.62:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 3.62.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0718 |
Shades
#2a42a7 mixed progressively with black.
Tints
#2a42a7 mixed progressively with white.
Tones
#2a42a7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a42a7 {
color: #2a42a7;
}
.bg-2a42a7 {
background-color: #2a42a7;
color: #ffffff;
}
.border-2a42a7 {
border: 2px solid #2a42a7;
}
:root {
--color-primary: #2a42a7;
--color-primary-rgb: 42 66 167;
--color-primary-hsl: 228 60% 41%;
}
.gradient-2a42a7 {
background: linear-gradient(135deg, #2a42a7, #502aa7);
}
.shadow-2a42a7 {
box-shadow: 0 8px 24px rgb(42 66 167 / 0.35);
}
Cobalt Blue
#2a42a7 rgb(42, 66, 167) hsl(228, 60%, 41%) Cobalt Blue
#a78f2a rgb(167, 143, 42) hsl(48, 60%, 41%) Brass
#a72a42 rgb(167, 42, 66) hsl(348, 60%, 41%) Vivid Burgundy
#42a72a rgb(66, 167, 42) hsl(108, 60%, 41%) Kelly Green