#786aef ≈ Medium Slate Blue
#786aef is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 47.06% red, 41.57% green and 93.73% blue; printed in CMYK it uses 49.79% cyan, 55.65% magenta, 0% yellow and 6.27% black. Its hue angle is 246.32°, with 80.61% saturation and 67.65% 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 5.11:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 0.86.
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.2053 |
Shades
#786aef mixed progressively with black.
Tints
#786aef mixed progressively with white.
Tones
#786aef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786aef {
color: #786aef;
}
.bg-786aef {
background-color: #786aef;
color: #000000;
}
.border-786aef {
border: 2px solid #786aef;
}
:root {
--color-primary: #786aef;
--color-primary-rgb: 120 106 239;
--color-primary-hsl: 246 81% 68%;
}
.gradient-786aef {
background: linear-gradient(135deg, #786aef, #bb6aef);
}
.shadow-786aef {
box-shadow: 0 8px 24px rgb(120 106 239 / 0.35);
}
Medium Slate Blue
#786aef rgb(120, 106, 239) hsl(246, 81%, 68%) Medium Slate Blue
#e1ef6a rgb(225, 239, 106) hsl(66, 81%, 68%) Pear
#ef786a rgb(239, 120, 106) hsl(6, 81%, 68%) Salmon
#6aef78 rgb(106, 239, 120) hsl(126, 81%, 68%) Light Green