#666AFA

#666afa ≈ Medium Slate Blue

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

#666afa is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 40% red, 41.57% green and 98.04% blue; printed in CMYK it uses 59.2% cyan, 57.6% magenta, 0% yellow and 1.96% black. Its hue angle is 238.38°, with 93.67% saturation and 69.02% 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.01:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 3.75.

Description generated from the measured properties of this color.

Conversions of #666afa 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.2003

Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #7475bc ≈ 0.001% of males
Protanopia #0082ff ≈ 1.01% of males
Deuteranopia #0075f7 ≈ 1.27% of males
Tritanopia #008da8 ≈ 0.0001% of males
Protanomaly #3779fd ≈ 1.08% of males
Deuteranomaly #2d71f8 ≈ 4.63% of males
Tritanomaly #3b80ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-666afa {
  color: #666afa;
}
Background
.bg-666afa {
  background-color: #666afa;
  color: #000000;
}
Border
.border-666afa {
  border: 2px solid #666afa;
}
CSS variables
:root {
  --color-primary: #666afa;
  --color-primary-rgb: 102 106 250;
  --color-primary-hsl: 238 94% 69%;
}
Gradient
.gradient-666afa {
  background: linear-gradient(135deg, #666afa, #ac66fa);
}
Colored shadow
.shadow-666afa {
  box-shadow: 0 8px 24px rgb(102 106 250 / 0.35);
}

Medium Slate Blue
#666afa  rgb(102, 106, 250)  hsl(238, 94%, 69%)  Medium Slate Blue
#faf666  rgb(250, 246, 102)  hsl(58, 94%, 69%)  Icterine
#fa666a  rgb(250, 102, 106)  hsl(358, 94%, 69%)  Pastel Red
#6afa66  rgb(106, 250, 102)  hsl(118, 94%, 69%)  Spring Green