#787ef8 ≈ Medium Slate Blue
#787ef8 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 47.06% red, 49.41% green and 97.25% blue; printed in CMYK it uses 51.61% cyan, 49.19% magenta, 0% yellow and 2.75% black. Its hue angle is 237.19°, with 90.14% saturation and 72.16% 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.14:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.06.
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.2569 |
Shades
#787ef8 mixed progressively with black.
Tints
#787ef8 mixed progressively with white.
Tones
#787ef8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-787ef8 {
color: #787ef8;
}
.bg-787ef8 {
background-color: #787ef8;
color: #000000;
}
.border-787ef8 {
border: 2px solid #787ef8;
}
:root {
--color-primary: #787ef8;
--color-primary-rgb: 120 126 248;
--color-primary-hsl: 237 90% 72%;
}
.gradient-787ef8 {
background: linear-gradient(135deg, #787ef8, #b278f8);
}
.shadow-787ef8 {
box-shadow: 0 8px 24px rgb(120 126 248 / 0.35);
}
Medium Slate Blue
#787ef8 rgb(120, 126, 248) hsl(237, 90%, 72%) Medium Slate Blue
#f8f278 rgb(248, 242, 120) hsl(57, 90%, 72%) Icterine
#f8787e rgb(248, 120, 126) hsl(357, 90%, 72%) Light Coral
#7ef878 rgb(126, 248, 120) hsl(117, 90%, 72%) Mint Green