#797cec ≈ Medium Slate Blue
#797cec is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.45% red, 48.63% green and 92.55% blue; printed in CMYK it uses 48.73% cyan, 47.46% magenta, 0% yellow and 7.45% black. Its hue angle is 238.43°, with 75.16% saturation and 70% 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. Black text on this color reaches a contrast ratio of 5.91:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.29.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6666ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2454 |
Shades
#797cec mixed progressively with black.
Tints
#797cec mixed progressively with white.
Tones
#797cec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797cec {
color: #797cec;
}
.bg-797cec {
background-color: #797cec;
color: #000000;
}
.border-797cec {
border: 2px solid #797cec;
}
:root {
--color-primary: #797cec;
--color-primary-rgb: 121 124 236;
--color-primary-hsl: 238 75% 70%;
}
.gradient-797cec {
background: linear-gradient(135deg, #797cec, #af79ec);
}
.shadow-797cec {
box-shadow: 0 8px 24px rgb(121 124 236 / 0.35);
}
Medium Slate Blue
#797cec rgb(121, 124, 236) hsl(238, 75%, 70%) Medium Slate Blue
#ece979 rgb(236, 233, 121) hsl(58, 75%, 70%) Khaki
#ec797c rgb(236, 121, 124) hsl(358, 75%, 70%) Light Coral
#7cec79 rgb(124, 236, 121) hsl(118, 75%, 70%) Light Green