#5162cf ≈ Royal Blue
#5162cf is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 38.43% green and 81.18% blue; printed in CMYK it uses 60.87% cyan, 52.66% magenta, 0% yellow and 18.82% black. Its hue angle is 231.9°, with 56.76% saturation and 56.47% 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.25:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6666cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1499 |
Shades
#5162cf mixed progressively with black.
Tints
#5162cf mixed progressively with white.
Tones
#5162cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5162cf {
color: #5162cf;
}
.bg-5162cf {
background-color: #5162cf;
color: #ffffff;
}
.border-5162cf {
border: 2px solid #5162cf;
}
:root {
--color-primary: #5162cf;
--color-primary-rgb: 81 98 207;
--color-primary-hsl: 232 57% 56%;
}
.gradient-5162cf {
background: linear-gradient(135deg, #5162cf, #7f51cf);
}
.shadow-5162cf {
box-shadow: 0 8px 24px rgb(81 98 207 / 0.35);
}
Royal Blue
#5162cf rgb(81, 98, 207) hsl(232, 57%, 56%) Royal Blue
#cfbe51 rgb(207, 190, 81) hsl(52, 57%, 56%) Old Gold
#cf5162 rgb(207, 81, 98) hsl(352, 57%, 56%) Brick Red
#62cf51 rgb(98, 207, 81) hsl(112, 57%, 56%) Lime Green