#2a4fa4 ≈ Cobalt Blue
#2a4fa4 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 16.47% red, 30.98% green and 64.31% blue; printed in CMYK it uses 74.39% cyan, 51.83% magenta, 0% yellow and 35.69% black. Its hue angle is 221.8°, with 59.22% saturation and 40.39% 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 7.63:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 3.06.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #336699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0876 |
Shades
#2a4fa4 mixed progressively with black.
Tints
#2a4fa4 mixed progressively with white.
Tones
#2a4fa4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a4fa4 {
color: #2a4fa4;
}
.bg-2a4fa4 {
background-color: #2a4fa4;
color: #ffffff;
}
.border-2a4fa4 {
border: 2px solid #2a4fa4;
}
:root {
--color-primary: #2a4fa4;
--color-primary-rgb: 42 79 164;
--color-primary-hsl: 222 59% 40%;
}
.gradient-2a4fa4 {
background: linear-gradient(135deg, #2a4fa4, #422aa4);
}
.shadow-2a4fa4 {
box-shadow: 0 8px 24px rgb(42 79 164 / 0.35);
}
Cobalt Blue
#2a4fa4 rgb(42, 79, 164) hsl(222, 59%, 40%) Cobalt Blue
#a47f2a rgb(164, 127, 42) hsl(42, 59%, 40%) Dark Goldenrod
#a42a4f rgb(164, 42, 79) hsl(342, 59%, 40%) Jazzberry Jam
#4fa42a rgb(79, 164, 42) hsl(102, 59%, 40%) Kelly Green