#304da2 ≈ Cobalt Blue
#304da2 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 18.82% red, 30.2% green and 63.53% blue; printed in CMYK it uses 70.37% cyan, 52.47% magenta, 0% yellow and 36.47% black. Its hue angle is 224.74°, with 54.29% saturation and 41.18% 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.75:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 3.27.
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.0854 |
Shades
#304da2 mixed progressively with black.
Tints
#304da2 mixed progressively with white.
Tones
#304da2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-304da2 {
color: #304da2;
}
.bg-304da2 {
background-color: #304da2;
color: #ffffff;
}
.border-304da2 {
border: 2px solid #304da2;
}
:root {
--color-primary: #304da2;
--color-primary-rgb: 48 77 162;
--color-primary-hsl: 225 54% 41%;
}
.gradient-304da2 {
background: linear-gradient(135deg, #304da2, #4c30a2);
}
.shadow-304da2 {
box-shadow: 0 8px 24px rgb(48 77 162 / 0.35);
}
Cobalt Blue
#304da2 rgb(48, 77, 162) hsl(225, 54%, 41%) Cobalt Blue
#a28530 rgb(162, 133, 48) hsl(45, 54%, 41%) Dark Goldenrod
#a2304d rgb(162, 48, 77) hsl(345, 54%, 41%) Vivid Burgundy
#4da230 rgb(77, 162, 48) hsl(105, 54%, 41%) Kelly Green