#787EFA

#787efa ≈ Medium Slate Blue

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

#787efa 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 98.04% blue; printed in CMYK it uses 52% cyan, 49.6% magenta, 0% yellow and 1.96% black. Its hue angle is 237.23°, with 92.86% saturation and 72.55% 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.16:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.11.

Description generated from the measured properties of this color.

Conversions of #787efa 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.2582

Readable text 3.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #8486c2 ≈ 0.001% of males
Protanopia #4190fe ≈ 1.01% of males
Deuteranopia #3186f7 ≈ 1.27% of males
Tritanopia #3e99b0 ≈ 0.0001% of males
Protanomaly #5c89fd ≈ 1.08% of males
Deuteranomaly #5683f8 ≈ 4.63% of males
Tritanomaly #5b8fd2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-787efa {
  color: #787efa;
}
Background
.bg-787efa {
  background-color: #787efa;
  color: #000000;
}
Border
.border-787efa {
  border: 2px solid #787efa;
}
CSS variables
:root {
  --color-primary: #787efa;
  --color-primary-rgb: 120 126 250;
  --color-primary-hsl: 237 93% 73%;
}
Gradient
.gradient-787efa {
  background: linear-gradient(135deg, #787efa, #b378fa);
}
Colored shadow
.shadow-787efa {
  box-shadow: 0 8px 24px rgb(120 126 250 / 0.35);
}

Medium Slate Blue
#787efa  rgb(120, 126, 250)  hsl(237, 93%, 73%)  Medium Slate Blue
#faf478  rgb(250, 244, 120)  hsl(57, 93%, 73%)  Icterine
#fa787e  rgb(250, 120, 126)  hsl(357, 93%, 73%)  Light Coral
#7efa78  rgb(126, 250, 120)  hsl(117, 93%, 73%)  Mint Green