#7987F6

#7987f6 ≈ Cornflower Blue

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

#7987f6 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.45% red, 52.94% green and 96.47% blue; printed in CMYK it uses 50.81% cyan, 45.12% magenta, 0% yellow and 3.53% black. Its hue angle is 233.28°, with 87.41% saturation and 71.96% 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.61:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 7.42.

Description generated from the measured properties of this color.

Conversions of #7987f6 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.2805

Readable text 3.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #909090 ≈ 0.003% of males
Achromatomaly #888dc2 ≈ 0.001% of males
Protanopia #5796fa ≈ 1.01% of males
Deuteranopia #4a8bf4 ≈ 1.27% of males
Tritanopia #439fb3 ≈ 0.0001% of males
Protanomaly #6690f8 ≈ 1.08% of males
Deuteranomaly #608af5 ≈ 4.63% of males
Tritanomaly #5d96d1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7987f6 {
  color: #7987f6;
}
Background
.bg-7987f6 {
  background-color: #7987f6;
  color: #000000;
}
Border
.border-7987f6 {
  border: 2px solid #7987f6;
}
CSS variables
:root {
  --color-primary: #7987f6;
  --color-primary-rgb: 121 135 246;
  --color-primary-hsl: 233 87% 72%;
}
Gradient
.gradient-7987f6 {
  background: linear-gradient(135deg, #7987f6, #a979f6);
}
Colored shadow
.shadow-7987f6 {
  box-shadow: 0 8px 24px rgb(121 135 246 / 0.35);
}

Cornflower Blue
#7987f6  rgb(121, 135, 246)  hsl(233, 87%, 72%)  Cornflower Blue
#f6e879  rgb(246, 232, 121)  hsl(53, 87%, 72%)  Khaki
#f67987  rgb(246, 121, 135)  hsl(353, 87%, 72%)  Light Coral
#87f679  rgb(135, 246, 121)  hsl(113, 87%, 72%)  Mint Green