#2162ec ≈ Royal Blue
#2162ec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.94% red, 38.43% green and 92.55% blue; printed in CMYK it uses 86.02% cyan, 58.47% magenta, 0% yellow and 7.45% black. Its hue angle is 220.79°, with 84.23% saturation and 52.75% 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 5.22:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.85.
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.1511 |
Shades
#2162ec mixed progressively with black.
Tints
#2162ec mixed progressively with white.
Tones
#2162ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2162ec {
color: #2162ec;
}
.bg-2162ec {
background-color: #2162ec;
color: #ffffff;
}
.border-2162ec {
border: 2px solid #2162ec;
}
:root {
--color-primary: #2162ec;
--color-primary-rgb: 33 98 236;
--color-primary-hsl: 221 84% 53%;
}
.gradient-2162ec {
background: linear-gradient(135deg, #2162ec, #4621ec);
}
.shadow-2162ec {
box-shadow: 0 8px 24px rgb(33 98 236 / 0.35);
}
Royal Blue
#2162ec rgb(33, 98, 236) hsl(221, 84%, 53%) Royal Blue
#ecab21 rgb(236, 171, 33) hsl(41, 84%, 53%) Marigold
#ec2162 rgb(236, 33, 98) hsl(341, 84%, 53%) Cerise
#62ec21 rgb(98, 236, 33) hsl(101, 84%, 53%) Harlequin