#797BE4

#797be4 ≈ Medium Slate Blue

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

#797be4 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.24% green and 89.41% blue; printed in CMYK it uses 46.93% cyan, 46.05% magenta, 0% yellow and 10.59% black. Its hue angle is 238.88°, 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.77:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.16.

Description generated from the measured properties of this color.

Conversions of #797be4 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.2383

Readable text 3.64:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #8182b3 ≈ 0.001% of males
Protanopia #4f8ae8 ≈ 1.01% of males
Deuteranopia #4782e2 ≈ 1.27% of males
Tritanopia #5391a4 ≈ 0.0001% of males
Protanomaly #6384e6 ≈ 1.08% of males
Deuteranomaly #5f7fe3 ≈ 4.63% of males
Tritanomaly #6489c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#797be4  rgb(121, 123, 228)  hsl(239, 66%, 68%)  Medium Slate Blue
#e4e279  rgb(228, 226, 121)  hsl(59, 66%, 68%)  Straw
#e4797b  rgb(228, 121, 123)  hsl(359, 66%, 68%)  Light Coral
#7be479  rgb(123, 228, 121)  hsl(119, 66%, 68%)  Pastel Green