#7F87FA

#7f87fa ≈ Cornflower Blue

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

#7f87fa is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 49.8% red, 52.94% green and 98.04% blue; printed in CMYK it uses 49.2% cyan, 46% magenta, 0% yellow and 1.96% black. Its hue angle is 236.1°, with 92.48% saturation and 73.92% 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 6.75:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 8.42.

Description generated from the measured properties of this color.

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

Readable text 3.11:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #929292 ≈ 0.003% of males
Achromatomaly #8b8ec4 ≈ 0.001% of males
Protanopia #5597fe ≈ 1.01% of males
Deuteranopia #4a8df7 ≈ 1.27% of males
Tritanopia #4ea0b4 ≈ 0.0001% of males
Protanomaly #6891fd ≈ 1.08% of males
Deuteranomaly #638bf8 ≈ 4.63% of males
Tritanomaly #6596d4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f87fa {
  color: #7f87fa;
}
Background
.bg-7f87fa {
  background-color: #7f87fa;
  color: #000000;
}
Border
.border-7f87fa {
  border: 2px solid #7f87fa;
}
CSS variables
:root {
  --color-primary: #7f87fa;
  --color-primary-rgb: 127 135 250;
  --color-primary-hsl: 236 92% 74%;
}
Gradient
.gradient-7f87fa {
  background: linear-gradient(135deg, #7f87fa, #b57ffa);
}
Colored shadow
.shadow-7f87fa {
  box-shadow: 0 8px 24px rgb(127 135 250 / 0.35);
}

Cornflower Blue
#7f87fa  rgb(127, 135, 250)  hsl(236, 92%, 74%)  Cornflower Blue
#faf27f  rgb(250, 242, 127)  hsl(56, 92%, 74%)  Pastel Yellow
#fa7f87  rgb(250, 127, 135)  hsl(356, 92%, 74%)  Light Coral
#87fa7f  rgb(135, 250, 127)  hsl(116, 92%, 74%)  Mint Green