#797CEC

#797cec ≈ Medium Slate Blue

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

#797cec is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.45% red, 48.63% green and 92.55% blue; printed in CMYK it uses 48.73% cyan, 47.46% magenta, 0% yellow and 7.45% black. Its hue angle is 238.43°, with 75.16% saturation and 70% 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.91:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.29.

Description generated from the measured properties of this color.

Conversions of #797cec 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.2454

Readable text 3.55:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8283b9 ≈ 0.001% of males
Protanopia #4b8cf0 ≈ 1.01% of males
Deuteranopia #4184ea ≈ 1.27% of males
Tritanopia #4d94a9 ≈ 0.0001% of males
Protanomaly #6086ee ≈ 1.08% of males
Deuteranomaly #5c81eb ≈ 4.63% of males
Tritanomaly #628bc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797cec {
  color: #797cec;
}
Background
.bg-797cec {
  background-color: #797cec;
  color: #000000;
}
Border
.border-797cec {
  border: 2px solid #797cec;
}
CSS variables
:root {
  --color-primary: #797cec;
  --color-primary-rgb: 121 124 236;
  --color-primary-hsl: 238 75% 70%;
}
Gradient
.gradient-797cec {
  background: linear-gradient(135deg, #797cec, #af79ec);
}
Colored shadow
.shadow-797cec {
  box-shadow: 0 8px 24px rgb(121 124 236 / 0.35);
}

Medium Slate Blue
#797cec  rgb(121, 124, 236)  hsl(238, 75%, 70%)  Medium Slate Blue
#ece979  rgb(236, 233, 121)  hsl(58, 75%, 70%)  Khaki
#ec797c  rgb(236, 121, 124)  hsl(358, 75%, 70%)  Light Coral
#7cec79  rgb(124, 236, 121)  hsl(118, 75%, 70%)  Light Green