#797BF4

#797bf4 ≈ Medium Slate Blue

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

#797bf4 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 95.69% blue; printed in CMYK it uses 50.41% cyan, 49.59% magenta, 0% yellow and 4.31% black. Its hue angle is 239.02°, with 84.83% saturation and 71.57% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.95:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.

Description generated from the measured properties of this color.

Conversions of #797bf4 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2476

Readable text 3.53:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.95:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #8283bd ≈ 0.001% of males
Protanopia #418df8 ≈ 1.01% of males
Deuteranopia #3484f1 ≈ 1.27% of males
Tritanopia #4796ac ≈ 0.0001% of males
Protanomaly #5c86f7 ≈ 1.08% of males
Deuteranomaly #5880f2 ≈ 4.63% of males
Tritanomaly #5f8ccd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#797bf4  rgb(121, 123, 244)  hsl(239, 85%, 72%)  Medium Slate Blue
#f4f279  rgb(244, 242, 121)  hsl(59, 85%, 72%)  Pastel Yellow
#f4797b  rgb(244, 121, 123)  hsl(359, 85%, 72%)  Light Coral
#7bf479  rgb(123, 244, 121)  hsl(119, 85%, 72%)  Light Green