#797EF1

#797ef1 ≈ Medium Slate Blue

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

#797ef1 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.45% red, 49.41% green and 94.51% blue; printed in CMYK it uses 49.79% cyan, 47.72% magenta, 0% yellow and 5.49% black. Its hue angle is 237.5°, with 81.08% saturation and 70.98% 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 6.07:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.92.

Description generated from the measured properties of this color.

Conversions of #797ef1 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.2534

Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #8385bc ≈ 0.001% of males
Protanopia #4a8ff5 ≈ 1.01% of males
Deuteranopia #3f85ee ≈ 1.27% of males
Tritanopia #4997ac ≈ 0.0001% of males
Protanomaly #6088f4 ≈ 1.08% of males
Deuteranomaly #5c82ef ≈ 4.63% of males
Tritanomaly #608ecb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797ef1 {
  color: #797ef1;
}
Background
.bg-797ef1 {
  background-color: #797ef1;
  color: #000000;
}
Border
.border-797ef1 {
  border: 2px solid #797ef1;
}
CSS variables
:root {
  --color-primary: #797ef1;
  --color-primary-rgb: 121 126 241;
  --color-primary-hsl: 238 81% 71%;
}
Gradient
.gradient-797ef1 {
  background: linear-gradient(135deg, #797ef1, #b079f1);
}
Colored shadow
.shadow-797ef1 {
  box-shadow: 0 8px 24px rgb(121 126 241 / 0.35);
}

Medium Slate Blue
#797ef1  rgb(121, 126, 241)  hsl(238, 81%, 71%)  Medium Slate Blue
#f1ec79  rgb(241, 236, 121)  hsl(58, 81%, 71%)  Khaki
#f1797e  rgb(241, 121, 126)  hsl(358, 81%, 71%)  Light Coral
#7ef179  rgb(126, 241, 121)  hsl(118, 81%, 71%)  Light Green