#787BF7

#787bf7 ≈ Medium Slate Blue

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

#787bf7 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.06% red, 48.24% green and 96.86% blue; printed in CMYK it uses 51.42% cyan, 50.2% magenta, 0% yellow and 3.14% black. Its hue angle is 238.58°, with 88.81% saturation and 71.96% 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.97:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.11.

Description generated from the measured properties of this color.

Conversions of #787bf7 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.2487

Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #8283bf ≈ 0.001% of males
Protanopia #3d8efb ≈ 1.01% of males
Deuteranopia #2e84f4 ≈ 1.27% of males
Tritanopia #4296ad ≈ 0.0001% of males
Protanomaly #5a87fa ≈ 1.08% of males
Deuteranomaly #5580f5 ≈ 4.63% of males
Tritanomaly #5c8ccf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-787bf7 {
  color: #787bf7;
}
Background
.bg-787bf7 {
  background-color: #787bf7;
  color: #000000;
}
Border
.border-787bf7 {
  border: 2px solid #787bf7;
}
CSS variables
:root {
  --color-primary: #787bf7;
  --color-primary-rgb: 120 123 247;
  --color-primary-hsl: 239 89% 72%;
}
Gradient
.gradient-787bf7 {
  background: linear-gradient(135deg, #787bf7, #b478f7);
}
Colored shadow
.shadow-787bf7 {
  box-shadow: 0 8px 24px rgb(120 123 247 / 0.35);
}

Medium Slate Blue
#787bf7  rgb(120, 123, 247)  hsl(239, 89%, 72%)  Medium Slate Blue
#f7f478  rgb(247, 244, 120)  hsl(59, 89%, 72%)  Icterine
#f7787b  rgb(247, 120, 123)  hsl(359, 89%, 72%)  Light Coral
#7bf778  rgb(123, 247, 120)  hsl(119, 89%, 72%)  Mint Green