#786AEF

#786aef ≈ Medium Slate Blue

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

#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.

Conversions of #786aef 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.2053

Readable text 4.11:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.11:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #7b76b6 ≈ 0.001% of males
Protanopia #0b81f3 ≈ 1.01% of males
Deuteranopia #0079ec ≈ 1.27% of males
Tritanopia #4b88a2 ≈ 0.0001% of males
Protanomaly #4f79f2 ≈ 1.08% of males
Deuteranomaly #4c73ed ≈ 4.63% of males
Tritanomaly #607dc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-786aef {
  color: #786aef;
}
Background
.bg-786aef {
  background-color: #786aef;
  color: #000000;
}
Border
.border-786aef {
  border: 2px solid #786aef;
}
CSS variables
:root {
  --color-primary: #786aef;
  --color-primary-rgb: 120 106 239;
  --color-primary-hsl: 246 81% 68%;
}
Gradient
.gradient-786aef {
  background: linear-gradient(135deg, #786aef, #bb6aef);
}
Colored shadow
.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