#304a8a ≈ Yale Blue
#304a8a is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.82% red, 29.02% green and 54.12% blue; printed in CMYK it uses 65.22% cyan, 46.38% magenta, 0% yellow and 45.88% black. Its hue angle is 222.67°, with 48.39% saturation and 36.47% 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 8.49:1 (WCAG AAA). The closest named color is Yale Blue (#0f4d92), ΔE 4.37.
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.0736 |
Shades
#304a8a mixed progressively with black.
Tints
#304a8a mixed progressively with white.
Tones
#304a8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-304a8a {
color: #304a8a;
}
.bg-304a8a {
background-color: #304a8a;
color: #ffffff;
}
.border-304a8a {
border: 2px solid #304a8a;
}
:root {
--color-primary: #304a8a;
--color-primary-rgb: 48 74 138;
--color-primary-hsl: 223 48% 36%;
}
.gradient-304a8a {
background: linear-gradient(135deg, #304a8a, #43308a);
}
.shadow-304a8a {
box-shadow: 0 8px 24px rgb(48 74 138 / 0.35);
}
Yale Blue
#304a8a rgb(48, 74, 138) hsl(223, 48%, 36%) Yale Blue
#8a7030 rgb(138, 112, 48) hsl(43, 48%, 36%) Golden Brown
#8a304a rgb(138, 48, 74) hsl(343, 48%, 36%) Claret
#4a8a30 rgb(74, 138, 48) hsl(103, 48%, 36%) Forest Green