#7971F2

#7971f2 ≈ Medium Slate Blue

  • blue
  • Lightness: high
  • Saturation: strong
  • Cool

#7971f2 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 47.45% red, 44.31% green and 94.9% blue; printed in CMYK it uses 50% cyan, 53.31% magenta, 0% yellow and 5.1% black. Its hue angle is 243.72°, with 83.23% saturation and 69.61% 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.46:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 2.88.

Description generated from the measured properties of this color.

Conversions of #7971f2 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.2229

Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.46:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #7e7bba ≈ 0.001% of males
Protanopia #2886f6 ≈ 1.01% of males
Deuteranopia #197def ≈ 1.27% of males
Tritanopia #4a8ea7 ≈ 0.0001% of males
Protanomaly #547ef5 ≈ 1.08% of males
Deuteranomaly #5179f0 ≈ 4.63% of males
Tritanomaly #6083c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7971f2 {
  color: #7971f2;
}
Background
.bg-7971f2 {
  background-color: #7971f2;
  color: #000000;
}
Border
.border-7971f2 {
  border: 2px solid #7971f2;
}
CSS variables
:root {
  --color-primary: #7971f2;
  --color-primary-rgb: 121 113 242;
  --color-primary-hsl: 244 83% 70%;
}
Gradient
.gradient-7971f2 {
  background: linear-gradient(135deg, #7971f2, #ba71f2);
}
Colored shadow
.shadow-7971f2 {
  box-shadow: 0 8px 24px rgb(121 113 242 / 0.35);
}

Medium Slate Blue
#7971f2  rgb(121, 113, 242)  hsl(244, 83%, 70%)  Medium Slate Blue
#eaf271  rgb(234, 242, 113)  hsl(64, 83%, 70%)  Laser Lemon
#f27971  rgb(242, 121, 113)  hsl(4, 83%, 70%)  Salmon
#71f279  rgb(113, 242, 121)  hsl(124, 83%, 70%)  Light Green