#305bb2 ≈ Denim
#305bb2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 35.69% green and 69.8% blue; printed in CMYK it uses 73.03% cyan, 48.88% magenta, 0% yellow and 30.2% black. Its hue angle is 220.15°, 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 6.43:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.2.
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.1132 |
Shades
#305bb2 mixed progressively with black.
Tints
#305bb2 mixed progressively with white.
Tones
#305bb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-305bb2 {
color: #305bb2;
}
.bg-305bb2 {
background-color: #305bb2;
color: #ffffff;
}
.border-305bb2 {
border: 2px solid #305bb2;
}
:root {
--color-primary: #305bb2;
--color-primary-rgb: 48 91 178;
--color-primary-hsl: 220 58% 44%;
}
.gradient-305bb2 {
background: linear-gradient(135deg, #305bb2, #4630b2);
}
.shadow-305bb2 {
box-shadow: 0 8px 24px rgb(48 91 178 / 0.35);
}
Denim
#305bb2 rgb(48, 91, 178) hsl(220, 58%, 44%) Denim
#b28730 rgb(178, 135, 48) hsl(40, 58%, 44%) Dark Goldenrod
#b2305b rgb(178, 48, 91) hsl(340, 58%, 44%) Dogwood Rose
#5bb230 rgb(91, 178, 48) hsl(100, 58%, 44%) Kelly Green