#4064cf ≈ Royal Blue
#4064cf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 39.22% green and 81.18% blue; printed in CMYK it uses 69.08% cyan, 51.69% magenta, 0% yellow and 18.82% black. Its hue angle is 224.9°, with 59.83% saturation and 53.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 brand accents. White text on this color reaches a contrast ratio of 5.33:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.87.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3366cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1471 |
Shades
#4064cf mixed progressively with black.
Tints
#4064cf mixed progressively with white.
Tones
#4064cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4064cf {
color: #4064cf;
}
.bg-4064cf {
background-color: #4064cf;
color: #ffffff;
}
.border-4064cf {
border: 2px solid #4064cf;
}
:root {
--color-primary: #4064cf;
--color-primary-rgb: 64 100 207;
--color-primary-hsl: 225 60% 53%;
}
.gradient-4064cf {
background: linear-gradient(135deg, #4064cf, #6440cf);
}
.shadow-4064cf {
box-shadow: 0 8px 24px rgb(64 100 207 / 0.35);
}
Royal Blue
#4064cf rgb(64, 100, 207) hsl(225, 60%, 53%) Royal Blue
#cfab40 rgb(207, 171, 64) hsl(45, 60%, 53%) Metallic Gold
#cf4064 rgb(207, 64, 100) hsl(345, 60%, 53%) Cerise
#64cf40 rgb(100, 207, 64) hsl(105, 60%, 53%) Lime Green