#786CF8

#786cf8 ≈ Medium Slate Blue

  • blue
  • Lightness: high
  • Saturation: strong
  • Cool

#786cf8 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 47.06% red, 42.35% green and 97.25% blue; printed in CMYK it uses 51.61% cyan, 56.45% magenta, 0% yellow and 2.75% black. Its hue angle is 245.14°, with 90.91% saturation and 69.8% 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.3:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 1.97.

Description generated from the measured properties of this color.

Conversions of #786cf8 into other color spaces
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 luminance0.215

Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #7d78bc ≈ 0.001% of males
Protanopia #0084fd ≈ 1.01% of males
Deuteranopia #007bf5 ≈ 1.27% of males
Tritanopia #438ca8 ≈ 0.0001% of males
Protanomaly #4c7bfb ≈ 1.08% of males
Deuteranomaly #4875f6 ≈ 4.63% of males
Tritanomaly #5d81cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786cf8 {
  color: #786cf8;
}
Background
.bg-786cf8 {
  background-color: #786cf8;
  color: #000000;
}
Border
.border-786cf8 {
  border: 2px solid #786cf8;
}
CSS variables
:root {
  --color-primary: #786cf8;
  --color-primary-rgb: 120 108 248;
  --color-primary-hsl: 245 91% 70%;
}
Gradient
.gradient-786cf8 {
  background: linear-gradient(135deg, #786cf8, #be6cf8);
}
Colored shadow
.shadow-786cf8 {
  box-shadow: 0 8px 24px rgb(120 108 248 / 0.35);
}

Medium Slate Blue
#786cf8  rgb(120, 108, 248)  hsl(245, 91%, 70%)  Medium Slate Blue
#ecf86c  rgb(236, 248, 108)  hsl(65, 91%, 70%)  Laser Lemon
#f8786c  rgb(248, 120, 108)  hsl(5, 91%, 70%)  Salmon
#6cf878  rgb(108, 248, 120)  hsl(125, 91%, 70%)  Spring Green