#787EF8

#787ef8 ≈ Medium Slate Blue

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

#787ef8 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 97.25% blue; printed in CMYK it uses 51.61% cyan, 49.19% magenta, 0% yellow and 2.75% black. Its hue angle is 237.19°, with 90.14% saturation and 72.16% 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.14:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.06.

Description generated from the measured properties of this color.

Conversions of #787ef8 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.2569

Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #8486c0 ≈ 0.001% of males
Protanopia #4390fc ≈ 1.01% of males
Deuteranopia #3486f5 ≈ 1.27% of males
Tritanopia #4099af ≈ 0.0001% of males
Protanomaly #5d89fb ≈ 1.08% of males
Deuteranomaly #5783f6 ≈ 4.63% of males
Tritanomaly #5c8fd0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#787ef8  rgb(120, 126, 248)  hsl(237, 90%, 72%)  Medium Slate Blue
#f8f278  rgb(248, 242, 120)  hsl(57, 90%, 72%)  Icterine
#f8787e  rgb(248, 120, 126)  hsl(357, 90%, 72%)  Light Coral
#7ef878  rgb(126, 248, 120)  hsl(117, 90%, 72%)  Mint Green