#0c4c8a ≈ Yale Blue
#0c4c8a is a color from the azure family, with low lightness and moderate saturation. In the RGB model it is made of 4.71% red, 29.8% green and 54.12% blue; printed in CMYK it uses 91.3% cyan, 44.93% magenta, 0% yellow and 45.88% black. Its hue angle is 209.52°, with 84% saturation and 29.41% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and luxury branding. White text on this color reaches a contrast ratio of 8.69:1 (WCAG AAA). The closest named color is Yale Blue (#0f4d92), ΔE 1.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0708 |
Shades
#0c4c8a mixed progressively with black.
Tints
#0c4c8a mixed progressively with white.
Tones
#0c4c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c4c8a {
color: #0c4c8a;
}
.bg-0c4c8a {
background-color: #0c4c8a;
color: #ffffff;
}
.border-0c4c8a {
border: 2px solid #0c4c8a;
}
:root {
--color-primary: #0c4c8a;
--color-primary-rgb: 12 76 138;
--color-primary-hsl: 210 84% 29%;
}
.gradient-0c4c8a {
background: linear-gradient(135deg, #0c4c8a, #0c0d8a);
}
.shadow-0c4c8a {
box-shadow: 0 8px 24px rgb(12 76 138 / 0.35);
}
Yale Blue
#0c4c8a rgb(12, 76, 138) hsl(210, 84%, 29%) Yale Blue
#8a4a0c rgb(138, 74, 12) hsl(30, 84%, 29%) Saddle Brown
#8a0c4c rgb(138, 12, 76) hsl(330, 84%, 29%) Pansy Purple
#4c8a0c rgb(76, 138, 12) hsl(90, 84%, 29%) Avocado