#0f40cc ≈ Persian Blue
#0f40cc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 5.88% red, 25.1% green and 80% blue; printed in CMYK it uses 92.65% cyan, 68.63% magenta, 0% yellow and 20% black. Its hue angle is 224.44°, with 86.3% saturation and 42.94% 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:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 2.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #0033cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0813 |
Shades
#0f40cc mixed progressively with black.
Tints
#0f40cc mixed progressively with white.
Tones
#0f40cc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0f40cc {
color: #0f40cc;
}
.bg-0f40cc {
background-color: #0f40cc;
color: #ffffff;
}
.border-0f40cc {
border: 2px solid #0f40cc;
}
:root {
--color-primary: #0f40cc;
--color-primary-rgb: 15 64 204;
--color-primary-hsl: 224 86% 43%;
}
.gradient-0f40cc {
background: linear-gradient(135deg, #0f40cc, #3c0fcc);
}
.shadow-0f40cc {
box-shadow: 0 8px 24px rgb(15 64 204 / 0.35);
}
Persian Blue
#0f40cc rgb(15, 64, 204) hsl(224, 86%, 43%) Persian Blue
#cc9b0f rgb(204, 155, 15) hsl(44, 86%, 43%) Goldenrod
#cc0f40 rgb(204, 15, 64) hsl(344, 86%, 43%) Cardinal
#40cc0f rgb(64, 204, 15) hsl(104, 86%, 43%) Lime Green