#797DDC

#797ddc ≈ Medium Slate Blue

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

#797ddc 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.02% green and 86.27% blue; printed in CMYK it uses 45% cyan, 43.18% magenta, 0% yellow and 13.73% black. Its hue angle is 237.58°, with 58.58% saturation and 66.86% 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.78:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.2.

Description generated from the measured properties of this color.

Conversions of #797ddc 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.239

Readable text 3.63:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #8183af ≈ 0.001% of males
Protanopia #588ae0 ≈ 1.01% of males
Deuteranopia #5283da ≈ 1.27% of males
Tritanopia #5791a2 ≈ 0.0001% of males
Protanomaly #6785de ≈ 1.08% of males
Deuteranomaly #6480db ≈ 4.63% of males
Tritanomaly #6789bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797ddc {
  color: #797ddc;
}
Background
.bg-797ddc {
  background-color: #797ddc;
  color: #000000;
}
Border
.border-797ddc {
  border: 2px solid #797ddc;
}
CSS variables
:root {
  --color-primary: #797ddc;
  --color-primary-rgb: 121 125 220;
  --color-primary-hsl: 238 59% 67%;
}
Gradient
.gradient-797ddc {
  background: linear-gradient(135deg, #797ddc, #a679dc);
}
Colored shadow
.shadow-797ddc {
  box-shadow: 0 8px 24px rgb(121 125 220 / 0.35);
}

Medium Slate Blue
#797ddc  rgb(121, 125, 220)  hsl(238, 59%, 67%)  Medium Slate Blue
#dcd879  rgb(220, 216, 121)  hsl(58, 59%, 67%)  Straw
#dc797d  rgb(220, 121, 125)  hsl(358, 59%, 67%)  Light Coral
#7ddc79  rgb(125, 220, 121)  hsl(118, 59%, 67%)  Pastel Green