#5160cf ≈ Royal Blue
#5160cf is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 37.65% green and 81.18% blue; printed in CMYK it uses 60.87% cyan, 53.62% magenta, 0% yellow and 18.82% black. Its hue angle is 232.86°, 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.35:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 4.54.
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.1462 |
Shades
#5160cf mixed progressively with black.
Tints
#5160cf mixed progressively with white.
Tones
#5160cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5160cf {
color: #5160cf;
}
.bg-5160cf {
background-color: #5160cf;
color: #ffffff;
}
.border-5160cf {
border: 2px solid #5160cf;
}
:root {
--color-primary: #5160cf;
--color-primary-rgb: 81 96 207;
--color-primary-hsl: 233 57% 56%;
}
.gradient-5160cf {
background: linear-gradient(135deg, #5160cf, #8151cf);
}
.shadow-5160cf {
box-shadow: 0 8px 24px rgb(81 96 207 / 0.35);
}
Royal Blue
#5160cf rgb(81, 96, 207) hsl(233, 57%, 56%) Royal Blue
#cfc051 rgb(207, 192, 81) hsl(53, 57%, 56%) Old Gold
#cf5160 rgb(207, 81, 96) hsl(353, 57%, 56%) Brick Red
#60cf51 rgb(96, 207, 81) hsl(113, 57%, 56%) Lime Green