#797CD9

#797cd9 ≈ Medium Slate Blue

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

#797cd9 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 85.1% blue; printed in CMYK it uses 44.24% cyan, 42.86% magenta, 0% yellow and 14.9% black. Its hue angle is 238.13°, with 55.81% saturation and 66.27% 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.7:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.09.

Description generated from the measured properties of this color.

Conversions of #797cd9 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.2349

Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #8082ad ≈ 0.001% of males
Protanopia #5989dd ≈ 1.01% of males
Deuteranopia #5382d7 ≈ 1.27% of males
Tritanopia #598fa0 ≈ 0.0001% of males
Protanomaly #6784db ≈ 1.08% of males
Deuteranomaly #647fd8 ≈ 4.63% of males
Tritanomaly #6788ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#797cd9  rgb(121, 124, 217)  hsl(238, 56%, 66%)  Medium Slate Blue
#d9d679  rgb(217, 214, 121)  hsl(58, 56%, 66%)  Straw
#d9797c  rgb(217, 121, 124)  hsl(358, 56%, 66%)  Light Coral
#7cd979  rgb(124, 217, 121)  hsl(118, 56%, 66%)  Pastel Green