#254ea4 ≈ Cobalt Blue
#254ea4 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 14.51% red, 30.59% green and 64.31% blue; printed in CMYK it uses 77.44% cyan, 52.44% magenta, 0% yellow and 35.69% black. Its hue angle is 220.63°, with 63.18% saturation and 39.41% 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.76:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 2.63.
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.0852 |
Shades
#254ea4 mixed progressively with black.
Tints
#254ea4 mixed progressively with white.
Tones
#254ea4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-254ea4 {
color: #254ea4;
}
.bg-254ea4 {
background-color: #254ea4;
color: #ffffff;
}
.border-254ea4 {
border: 2px solid #254ea4;
}
:root {
--color-primary: #254ea4;
--color-primary-rgb: 37 78 164;
--color-primary-hsl: 221 63% 39%;
}
.gradient-254ea4 {
background: linear-gradient(135deg, #254ea4, #3c25a4);
}
.shadow-254ea4 {
box-shadow: 0 8px 24px rgb(37 78 164 / 0.35);
}
Cobalt Blue
#254ea4 rgb(37, 78, 164) hsl(221, 63%, 39%) Cobalt Blue
#a47b25 rgb(164, 123, 37) hsl(41, 63%, 39%) Dark Goldenrod
#a4254e rgb(164, 37, 78) hsl(341, 63%, 39%) Jazzberry Jam
#4ea425 rgb(78, 164, 37) hsl(101, 63%, 39%) Kelly Green