#0f42a9 ≈ Cobalt Blue
#0f42a9 is a color from the blue family, with low lightness and strong saturation. In the RGB model it is made of 5.88% red, 25.88% green and 66.27% blue; printed in CMYK it uses 91.12% cyan, 60.95% magenta, 0% yellow and 33.73% black. Its hue angle is 220.13°, with 83.7% saturation and 36.08% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 8.85:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 1.97.
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.0686 |
Shades
#0f42a9 mixed progressively with black.
Tints
#0f42a9 mixed progressively with white.
Tones
#0f42a9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0f42a9 {
color: #0f42a9;
}
.bg-0f42a9 {
background-color: #0f42a9;
color: #ffffff;
}
.border-0f42a9 {
border: 2px solid #0f42a9;
}
:root {
--color-primary: #0f42a9;
--color-primary-rgb: 15 66 169;
--color-primary-hsl: 220 84% 36%;
}
.gradient-0f42a9 {
background: linear-gradient(135deg, #0f42a9, #290fa9);
}
.shadow-0f42a9 {
box-shadow: 0 8px 24px rgb(15 66 169 / 0.35);
}
Cobalt Blue
#0f42a9 rgb(15, 66, 169) hsl(220, 84%, 36%) Cobalt Blue
#a9760f rgb(169, 118, 15) hsl(40, 84%, 36%) Dark Goldenrod
#a90f42 rgb(169, 15, 66) hsl(340, 84%, 36%) Vivid Burgundy
#42a90f rgb(66, 169, 15) hsl(100, 84%, 36%) Kelly Green