#2162ea ≈ Royal Blue
#2162ea 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 91.76% blue; printed in CMYK it uses 85.9% cyan, 58.12% magenta, 0% yellow and 8.24% black. Its hue angle is 220.6°, with 82.72% saturation and 52.35% 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.25:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.86.
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.15 |
Shades
#2162ea mixed progressively with black.
Tints
#2162ea mixed progressively with white.
Tones
#2162ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2162ea {
color: #2162ea;
}
.bg-2162ea {
background-color: #2162ea;
color: #ffffff;
}
.border-2162ea {
border: 2px solid #2162ea;
}
:root {
--color-primary: #2162ea;
--color-primary-rgb: 33 98 234;
--color-primary-hsl: 221 83% 52%;
}
.gradient-2162ea {
background: linear-gradient(135deg, #2162ea, #4421ea);
}
.shadow-2162ea {
box-shadow: 0 8px 24px rgb(33 98 234 / 0.35);
}
Royal Blue
#2162ea rgb(33, 98, 234) hsl(221, 83%, 52%) Royal Blue
#eaa921 rgb(234, 169, 33) hsl(41, 83%, 52%) Marigold
#ea2162 rgb(234, 33, 98) hsl(341, 83%, 52%) Cerise
#62ea21 rgb(98, 234, 33) hsl(101, 83%, 52%) Lawn Green