#787BF4

#787bf4 ≈ Medium Slate Blue

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

#787bf4 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 95.69% blue; printed in CMYK it uses 50.82% cyan, 49.59% magenta, 0% yellow and 4.31% black. Its hue angle is 238.55°, 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 5.94:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.05.

Description generated from the measured properties of this color.

Conversions of #787bf4 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.2469

Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8283bd ≈ 0.001% of males
Protanopia #408df8 ≈ 1.01% of males
Deuteranopia #3383f1 ≈ 1.27% of males
Tritanopia #4596ac ≈ 0.0001% of males
Protanomaly #5c86f7 ≈ 1.08% of males
Deuteranomaly #5780f2 ≈ 4.63% of males
Tritanomaly #5d8ccd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#787bf4  rgb(120, 123, 244)  hsl(239, 85%, 71%)  Medium Slate Blue
#f4f178  rgb(244, 241, 120)  hsl(59, 85%, 71%)  Icterine
#f4787b  rgb(244, 120, 123)  hsl(359, 85%, 71%)  Light Coral
#7bf478  rgb(123, 244, 120)  hsl(119, 85%, 71%)  Mint Green