#304bb2 ≈ Cobalt Blue
#304bb2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 29.41% green and 69.8% blue; printed in CMYK it uses 73.03% cyan, 57.87% magenta, 0% yellow and 30.2% black. Its hue angle is 227.54°, with 57.52% saturation and 44.31% 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.57:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 3.53.
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.0887 |
Shades
#304bb2 mixed progressively with black.
Tints
#304bb2 mixed progressively with white.
Tones
#304bb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-304bb2 {
color: #304bb2;
}
.bg-304bb2 {
background-color: #304bb2;
color: #ffffff;
}
.border-304bb2 {
border: 2px solid #304bb2;
}
:root {
--color-primary: #304bb2;
--color-primary-rgb: 48 75 178;
--color-primary-hsl: 228 58% 44%;
}
.gradient-304bb2 {
background: linear-gradient(135deg, #304bb2, #5630b2);
}
.shadow-304bb2 {
box-shadow: 0 8px 24px rgb(48 75 178 / 0.35);
}
Cobalt Blue
#304bb2 rgb(48, 75, 178) hsl(228, 58%, 44%) Cobalt Blue
#b29730 rgb(178, 151, 48) hsl(48, 58%, 44%) Brass
#b2304b rgb(178, 48, 75) hsl(348, 58%, 44%) Cardinal
#4bb230 rgb(75, 178, 48) hsl(108, 58%, 44%) Kelly Green