#406ef2 ≈ Royal Blue
#406ef2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 43.14% green and 94.9% blue; printed in CMYK it uses 73.55% cyan, 54.55% magenta, 0% yellow and 5.1% black. Its hue angle is 224.49°, with 87.25% saturation and 60% 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. Black text on this color reaches a contrast ratio of 4.73:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3366ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1865 |
Shades
#406ef2 mixed progressively with black.
Tints
#406ef2 mixed progressively with white.
Tones
#406ef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-406ef2 {
color: #406ef2;
}
.bg-406ef2 {
background-color: #406ef2;
color: #000000;
}
.border-406ef2 {
border: 2px solid #406ef2;
}
:root {
--color-primary: #406ef2;
--color-primary-rgb: 64 110 242;
--color-primary-hsl: 224 87% 60%;
}
.gradient-406ef2 {
background: linear-gradient(135deg, #406ef2, #6b40f2);
}
.shadow-406ef2 {
box-shadow: 0 8px 24px rgb(64 110 242 / 0.35);
}
Royal Blue
#406ef2 rgb(64, 110, 242) hsl(224, 87%, 60%) Royal Blue
#f2c440 rgb(242, 196, 64) hsl(44, 87%, 60%) Saffron
#f2406e rgb(242, 64, 110) hsl(344, 87%, 60%) Neon Fuchsia
#6ef240 rgb(110, 242, 64) hsl(104, 87%, 60%) Neon Green