#787DF7

#787df7 ≈ Medium Slate Blue

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

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

Description generated from the measured properties of this color.

Conversions of #787df7 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.2538

Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #8385c0 ≈ 0.001% of males
Protanopia #428ffb ≈ 1.01% of males
Deuteranopia #3385f4 ≈ 1.27% of males
Tritanopia #4298ae ≈ 0.0001% of males
Protanomaly #5c88fa ≈ 1.08% of males
Deuteranomaly #5782f5 ≈ 4.63% of males
Tritanomaly #5c8ecf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#787df7  rgb(120, 125, 247)  hsl(238, 89%, 72%)  Medium Slate Blue
#f7f278  rgb(247, 242, 120)  hsl(58, 89%, 72%)  Icterine
#f7787d  rgb(247, 120, 125)  hsl(358, 89%, 72%)  Light Coral
#7df778  rgb(125, 247, 120)  hsl(118, 89%, 72%)  Mint Green