#797cd4 ≈ Medium Slate Blue
#797cd4 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 83.14% blue; printed in CMYK it uses 42.92% cyan, 41.51% magenta, 0% yellow and 16.86% black. Its hue angle is 238.02°, with 51.41% saturation and 65.29% 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.65:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.49.
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.2323 |
Shades
#797cd4 mixed progressively with black.
Tints
#797cd4 mixed progressively with white.
Tones
#797cd4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797cd4 {
color: #797cd4;
}
.bg-797cd4 {
background-color: #797cd4;
color: #000000;
}
.border-797cd4 {
border: 2px solid #797cd4;
}
:root {
--color-primary: #797cd4;
--color-primary-rgb: 121 124 212;
--color-primary-hsl: 238 51% 65%;
}
.gradient-797cd4 {
background: linear-gradient(135deg, #797cd4, #a379d4);
}
.shadow-797cd4 {
box-shadow: 0 8px 24px rgb(121 124 212 / 0.35);
}
Medium Slate Blue
#797cd4 rgb(121, 124, 212) hsl(238, 51%, 65%) Medium Slate Blue
#d4d179 rgb(212, 209, 121) hsl(58, 51%, 65%) Straw
#d4797c rgb(212, 121, 124) hsl(358, 51%, 65%) Old Rose
#7cd479 rgb(124, 212, 121) hsl(118, 51%, 65%) Pastel Green