#787ef2 ≈ Medium Slate Blue
#787ef2 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.06% red, 49.41% green and 94.9% blue; printed in CMYK it uses 50.41% cyan, 47.93% magenta, 0% yellow and 5.1% black. Its hue angle is 237.05°, with 82.43% saturation and 70.98% 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. Black text on this color reaches a contrast ratio of 6.07:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.98.
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.2533 |
Shades
#787ef2 mixed progressively with black.
Tints
#787ef2 mixed progressively with white.
Tones
#787ef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-787ef2 {
color: #787ef2;
}
.bg-787ef2 {
background-color: #787ef2;
color: #000000;
}
.border-787ef2 {
border: 2px solid #787ef2;
}
:root {
--color-primary: #787ef2;
--color-primary-rgb: 120 126 242;
--color-primary-hsl: 237 82% 71%;
}
.gradient-787ef2 {
background: linear-gradient(135deg, #787ef2, #af78f2);
}
.shadow-787ef2 {
box-shadow: 0 8px 24px rgb(120 126 242 / 0.35);
}
Medium Slate Blue
#787ef2 rgb(120, 126, 242) hsl(237, 82%, 71%) Medium Slate Blue
#f2ec78 rgb(242, 236, 120) hsl(57, 82%, 71%) Khaki
#f2787e rgb(242, 120, 126) hsl(357, 82%, 71%) Light Coral
#7ef278 rgb(126, 242, 120) hsl(117, 82%, 71%) Light Green