#787FF4

#787ff4 ≈ Medium Slate Blue

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

#787ff4 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 95.69% blue; printed in CMYK it uses 50.82% cyan, 47.95% magenta, 0% yellow and 4.31% black. Its hue angle is 236.61°, with 84.93% saturation and 71.37% 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.32.

Description generated from the measured properties of this color.

Conversions of #787ff4 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.257

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 #8486be ≈ 0.001% of males
Protanopia #4990f8 ≈ 1.01% of males
Deuteranopia #3c86f1 ≈ 1.27% of males
Tritanopia #4499ae ≈ 0.0001% of males
Protanomaly #5f89f7 ≈ 1.08% of males
Deuteranomaly #5a83f2 ≈ 4.63% of males
Tritanomaly #5d8fce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-787ff4 {
  color: #787ff4;
}
Background
.bg-787ff4 {
  background-color: #787ff4;
  color: #000000;
}
Border
.border-787ff4 {
  border: 2px solid #787ff4;
}
CSS variables
:root {
  --color-primary: #787ff4;
  --color-primary-rgb: 120 127 244;
  --color-primary-hsl: 237 85% 71%;
}
Gradient
.gradient-787ff4 {
  background: linear-gradient(135deg, #787ff4, #af78f4);
}
Colored shadow
.shadow-787ff4 {
  box-shadow: 0 8px 24px rgb(120 127 244 / 0.35);
}

Medium Slate Blue
#787ff4  rgb(120, 127, 244)  hsl(237, 85%, 71%)  Medium Slate Blue
#f4ed78  rgb(244, 237, 120)  hsl(57, 85%, 71%)  Khaki
#f4787f  rgb(244, 120, 127)  hsl(357, 85%, 71%)  Light Coral
#7ff478  rgb(127, 244, 120)  hsl(117, 85%, 71%)  Mint Green