#405fc7 ≈ Royal Blue
#405fc7 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 37.25% green and 78.04% blue; printed in CMYK it uses 67.84% cyan, 52.26% magenta, 0% yellow and 21.96% black. Its hue angle is 226.22°, with 54.66% saturation and 51.57% 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.71:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.74.
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.134 |
Shades
#405fc7 mixed progressively with black.
Tints
#405fc7 mixed progressively with white.
Tones
#405fc7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-405fc7 {
color: #405fc7;
}
.bg-405fc7 {
background-color: #405fc7;
color: #ffffff;
}
.border-405fc7 {
border: 2px solid #405fc7;
}
:root {
--color-primary: #405fc7;
--color-primary-rgb: 64 95 199;
--color-primary-hsl: 226 55% 52%;
}
.gradient-405fc7 {
background: linear-gradient(135deg, #405fc7, #6440c7);
}
.shadow-405fc7 {
box-shadow: 0 8px 24px rgb(64 95 199 / 0.35);
}
Royal Blue
#405fc7 rgb(64, 95, 199) hsl(226, 55%, 52%) Royal Blue
#c7a840 rgb(199, 168, 64) hsl(46, 55%, 52%) Metallic Gold
#c7405f rgb(199, 64, 95) hsl(346, 55%, 52%) Brick Red
#5fc740 rgb(95, 199, 64) hsl(106, 55%, 52%) Lime Green