#797CE3

#797ce3 ≈ Medium Slate Blue

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

#797ce3 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 89.02% blue; printed in CMYK it uses 46.7% cyan, 45.37% magenta, 0% yellow and 10.98% black. Its hue angle is 238.3°, with 65.43% saturation and 68.24% 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.81:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.52.

Description generated from the measured properties of this color.

Conversions of #797ce3 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2403

Readable text 3.62:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #8182b3 ≈ 0.001% of males
Protanopia #528be7 ≈ 1.01% of males
Deuteranopia #4a83e1 ≈ 1.27% of males
Tritanopia #5392a4 ≈ 0.0001% of males
Protanomaly #6485e5 ≈ 1.08% of males
Deuteranomaly #6080e2 ≈ 4.63% of males
Tritanomaly #658ac1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#797ce3  rgb(121, 124, 227)  hsl(238, 65%, 68%)  Medium Slate Blue
#e3e079  rgb(227, 224, 121)  hsl(58, 65%, 68%)  Straw
#e3797c  rgb(227, 121, 124)  hsl(358, 65%, 68%)  Light Coral
#7ce379  rgb(124, 227, 121)  hsl(118, 65%, 68%)  Pastel Green