#787BF0

#787bf0 ≈ Medium Slate Blue

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

#787bf0 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 94.12% blue; printed in CMYK it uses 50% cyan, 48.75% magenta, 0% yellow and 5.88% black. Its hue angle is 238.5°, with 80% saturation and 70.59% 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.89:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.01.

Description generated from the measured properties of this color.

Conversions of #787bf0 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.2445

Readable text 3.57:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8283bb ≈ 0.001% of males
Protanopia #448cf4 ≈ 1.01% of males
Deuteranopia #3983ed ≈ 1.27% of males
Tritanopia #4894aa ≈ 0.0001% of males
Protanomaly #5d86f3 ≈ 1.08% of males
Deuteranomaly #5980ee ≈ 4.63% of males
Tritanomaly #5f8bca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#787bf0  rgb(120, 123, 240)  hsl(239, 80%, 71%)  Medium Slate Blue
#f0ed78  rgb(240, 237, 120)  hsl(59, 80%, 71%)  Pastel Yellow
#f0787b  rgb(240, 120, 123)  hsl(359, 80%, 71%)  Light Coral
#7bf078  rgb(123, 240, 120)  hsl(119, 80%, 71%)  Light Green