#0f40cd ≈ Persian Blue
#0f40cd 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.39% blue; printed in CMYK it uses 92.68% cyan, 68.78% magenta, 0% yellow and 19.61% black. Its hue angle is 224.53°, with 86.36% saturation and 43.14% 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 7.97:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 2.97.
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.0818 |
Shades
#0f40cd mixed progressively with black.
Tints
#0f40cd mixed progressively with white.
Tones
#0f40cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0f40cd {
color: #0f40cd;
}
.bg-0f40cd {
background-color: #0f40cd;
color: #ffffff;
}
.border-0f40cd {
border: 2px solid #0f40cd;
}
:root {
--color-primary: #0f40cd;
--color-primary-rgb: 15 64 205;
--color-primary-hsl: 225 86% 43%;
}
.gradient-0f40cd {
background: linear-gradient(135deg, #0f40cd, #3d0fcd);
}
.shadow-0f40cd {
box-shadow: 0 8px 24px rgb(15 64 205 / 0.35);
}
Persian Blue
#0f40cd rgb(15, 64, 205) hsl(225, 86%, 43%) Persian Blue
#cd9c0f rgb(205, 156, 15) hsl(45, 86%, 43%) Goldenrod
#cd0f40 rgb(205, 15, 64) hsl(345, 86%, 43%) Cardinal
#40cd0f rgb(64, 205, 15) hsl(105, 86%, 43%) Lime Green