#787FE7

#787fe7 ≈ Medium Slate Blue

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

#787fe7 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.8% green and 90.59% blue; printed in CMYK it uses 48.05% cyan, 45.02% magenta, 0% yellow and 9.41% black. Its hue angle is 236.22°, with 69.81% saturation and 68.82% 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 brand accents. Black text on this color reaches a contrast ratio of 5.99:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.42.

Description generated from the measured properties of this color.

Conversions of #787fe7 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.2494

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

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #8285b6 ≈ 0.001% of males
Protanopia #548deb ≈ 1.01% of males
Deuteranopia #4b85e5 ≈ 1.27% of males
Tritanopia #4e95a8 ≈ 0.0001% of males
Protanomaly #6488e9 ≈ 1.08% of males
Deuteranomaly #6082e6 ≈ 4.63% of males
Tritanomaly #628dc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-787fe7 {
  color: #787fe7;
}
Background
.bg-787fe7 {
  background-color: #787fe7;
  color: #000000;
}
Border
.border-787fe7 {
  border: 2px solid #787fe7;
}
CSS variables
:root {
  --color-primary: #787fe7;
  --color-primary-rgb: 120 127 231;
  --color-primary-hsl: 236 70% 69%;
}
Gradient
.gradient-787fe7 {
  background: linear-gradient(135deg, #787fe7, #a878e7);
}
Colored shadow
.shadow-787fe7 {
  box-shadow: 0 8px 24px rgb(120 127 231 / 0.35);
}

Medium Slate Blue
#787fe7  rgb(120, 127, 231)  hsl(236, 70%, 69%)  Medium Slate Blue
#e7e078  rgb(231, 224, 120)  hsl(56, 70%, 69%)  Straw
#e7787f  rgb(231, 120, 127)  hsl(356, 70%, 69%)  Light Coral
#7fe778  rgb(127, 231, 120)  hsl(116, 70%, 69%)  Pastel Green