#797FE4

#797fe4 ≈ Medium Slate Blue

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

#797fe4 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.8% green and 89.41% blue; printed in CMYK it uses 46.93% cyan, 44.3% magenta, 0% yellow and 10.59% black. Its hue angle is 236.64°, with 66.46% saturation and 68.43% 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.97:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.45.

Description generated from the measured properties of this color.

Conversions of #797fe4 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.2485

Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #8385b5 ≈ 0.001% of males
Protanopia #568de8 ≈ 1.01% of males
Deuteranopia #4e85e2 ≈ 1.27% of males
Tritanopia #5294a6 ≈ 0.0001% of males
Protanomaly #6688e6 ≈ 1.08% of males
Deuteranomaly #6282e3 ≈ 4.63% of males
Tritanomaly #648cc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797fe4 {
  color: #797fe4;
}
Background
.bg-797fe4 {
  background-color: #797fe4;
  color: #000000;
}
Border
.border-797fe4 {
  border: 2px solid #797fe4;
}
CSS variables
:root {
  --color-primary: #797fe4;
  --color-primary-rgb: 121 127 228;
  --color-primary-hsl: 237 66% 68%;
}
Gradient
.gradient-797fe4 {
  background: linear-gradient(135deg, #797fe4, #a979e4);
}
Colored shadow
.shadow-797fe4 {
  box-shadow: 0 8px 24px rgb(121 127 228 / 0.35);
}

Medium Slate Blue
#797fe4  rgb(121, 127, 228)  hsl(237, 66%, 68%)  Medium Slate Blue
#e4de79  rgb(228, 222, 121)  hsl(57, 66%, 68%)  Straw
#e4797f  rgb(228, 121, 127)  hsl(357, 66%, 68%)  Light Coral
#7fe479  rgb(127, 228, 121)  hsl(117, 66%, 68%)  Pastel Green