#786DEC

#786dec ≈ Medium Slate Blue

  • blue
  • Lightness: high
  • Saturation: moderate
  • Cool

#786dec is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.06% red, 42.75% green and 92.55% blue; printed in CMYK it uses 49.15% cyan, 53.81% magenta, 0% yellow and 7.45% black. Its hue angle is 245.2°, with 76.97% 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 brand accents. Black text on this color reaches a contrast ratio of 5.2:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 1.66.

Description generated from the measured properties of this color.

Conversions of #786dec 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.2099

Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.2:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #7c78b5 ≈ 0.001% of males
Protanopia #2482f0 ≈ 1.01% of males
Deuteranopia #187ae9 ≈ 1.27% of males
Tritanopia #4d89a2 ≈ 0.0001% of males
Protanomaly #537aef ≈ 1.08% of males
Deuteranomaly #5075ea ≈ 4.63% of males
Tritanomaly #617fc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786dec {
  color: #786dec;
}
Background
.bg-786dec {
  background-color: #786dec;
  color: #000000;
}
Border
.border-786dec {
  border: 2px solid #786dec;
}
CSS variables
:root {
  --color-primary: #786dec;
  --color-primary-rgb: 120 109 236;
  --color-primary-hsl: 245 77% 68%;
}
Gradient
.gradient-786dec {
  background: linear-gradient(135deg, #786dec, #b86dec);
}
Colored shadow
.shadow-786dec {
  box-shadow: 0 8px 24px rgb(120 109 236 / 0.35);
}

Medium Slate Blue
#786dec  rgb(120, 109, 236)  hsl(245, 77%, 68%)  Medium Slate Blue
#e1ec6d  rgb(225, 236, 109)  hsl(65, 77%, 68%)  Pear
#ec786d  rgb(236, 120, 109)  hsl(5, 77%, 68%)  Salmon
#6dec78  rgb(109, 236, 120)  hsl(125, 77%, 68%)  Pastel Green