#797CD4

#797cd4 ≈ Medium Slate Blue

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

#797cd4 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 83.14% blue; printed in CMYK it uses 42.92% cyan, 41.51% magenta, 0% yellow and 16.86% black. Its hue angle is 238.02°, with 51.41% saturation and 65.29% 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.65:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 7.49.

Description generated from the measured properties of this color.

Conversions of #797cd4 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.2323

Readable text 3.72:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #8081aa ≈ 0.001% of males
Protanopia #5c88d7 ≈ 1.01% of males
Deuteranopia #5681d2 ≈ 1.27% of males
Tritanopia #5c8e9e ≈ 0.0001% of males
Protanomaly #6983d6 ≈ 1.08% of males
Deuteranomaly #667fd3 ≈ 4.63% of males
Tritanomaly #6987b6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#797cd4  rgb(121, 124, 212)  hsl(238, 51%, 65%)  Medium Slate Blue
#d4d179  rgb(212, 209, 121)  hsl(58, 51%, 65%)  Straw
#d4797c  rgb(212, 121, 124)  hsl(358, 51%, 65%)  Old Rose
#7cd479  rgb(124, 212, 121)  hsl(118, 51%, 65%)  Pastel Green