#787CEF

#787cef ≈ Medium Slate Blue

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

#787cef 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.63% green and 93.73% blue; printed in CMYK it uses 49.79% cyan, 48.12% magenta, 0% yellow and 6.27% black. Its hue angle is 237.98°, with 78.81% saturation and 70.39% 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.93:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.33.

Description generated from the measured properties of this color.

Conversions of #787cef 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.2464

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

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8283ba ≈ 0.001% of males
Protanopia #488df3 ≈ 1.01% of males
Deuteranopia #3c84ec ≈ 1.27% of males
Tritanopia #4995aa ≈ 0.0001% of males
Protanomaly #5f86f2 ≈ 1.08% of males
Deuteranomaly #5a81ed ≈ 4.63% of males
Tritanomaly #5f8cc9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-787cef {
  color: #787cef;
}
Background
.bg-787cef {
  background-color: #787cef;
  color: #000000;
}
Border
.border-787cef {
  border: 2px solid #787cef;
}
CSS variables
:root {
  --color-primary: #787cef;
  --color-primary-rgb: 120 124 239;
  --color-primary-hsl: 238 79% 70%;
}
Gradient
.gradient-787cef {
  background: linear-gradient(135deg, #787cef, #af78ef);
}
Colored shadow
.shadow-787cef {
  box-shadow: 0 8px 24px rgb(120 124 239 / 0.35);
}

Medium Slate Blue
#787cef  rgb(120, 124, 239)  hsl(238, 79%, 70%)  Medium Slate Blue
#efeb78  rgb(239, 235, 120)  hsl(58, 79%, 70%)  Khaki
#ef787c  rgb(239, 120, 124)  hsl(358, 79%, 70%)  Light Coral
#7cef78  rgb(124, 239, 120)  hsl(118, 79%, 70%)  Light Green