#304cb7 ≈ Sapphire
#304cb7 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.8% green and 71.76% blue; printed in CMYK it uses 73.77% cyan, 58.47% magenta, 0% yellow and 28.24% black. Its hue angle is 227.56°, with 58.44% saturation and 45.29% 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.39:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 3.76.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0922 |
Shades
#304cb7 mixed progressively with black.
Tints
#304cb7 mixed progressively with white.
Tones
#304cb7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-304cb7 {
color: #304cb7;
}
.bg-304cb7 {
background-color: #304cb7;
color: #ffffff;
}
.border-304cb7 {
border: 2px solid #304cb7;
}
:root {
--color-primary: #304cb7;
--color-primary-rgb: 48 76 183;
--color-primary-hsl: 228 58% 45%;
}
.gradient-304cb7 {
background: linear-gradient(135deg, #304cb7, #5830b7);
}
.shadow-304cb7 {
box-shadow: 0 8px 24px rgb(48 76 183 / 0.35);
}
Sapphire
#304cb7 rgb(48, 76, 183) hsl(228, 58%, 45%) Sapphire
#b79b30 rgb(183, 155, 48) hsl(48, 58%, 45%) Brass
#b7304c rgb(183, 48, 76) hsl(348, 58%, 45%) Cardinal
#4cb730 rgb(76, 183, 48) hsl(108, 58%, 45%) Kelly Green