#7E8DFC

#7e8dfc ≈ Cornflower Blue

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

#7e8dfc is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 49.41% red, 55.29% green and 98.82% blue; printed in CMYK it uses 50% cyan, 44.05% magenta, 0% yellow and 1.18% black. Its hue angle is 232.86°, with 95.45% saturation and 74.12% 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 7.1:1 (WCAG AAA). The closest named color is Cornflower Blue (#6495ed), ΔE 6.88.

Description generated from the measured properties of this color.

Conversions of #7e8dfc 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.3051

Readable text 2.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #969696 ≈ 0.003% of males
Achromatomaly #8d93c7 ≈ 0.001% of males
Protanopia #5e9bff ≈ 1.01% of males
Deuteranopia #5291fa ≈ 1.27% of males
Tritanopia #49a5b8 ≈ 0.0001% of males
Protanomaly #6c96ff ≈ 1.08% of males
Deuteranomaly #668ffb ≈ 4.63% of males
Tritanomaly #639cd7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e8dfc {
  color: #7e8dfc;
}
Background
.bg-7e8dfc {
  background-color: #7e8dfc;
  color: #000000;
}
Border
.border-7e8dfc {
  border: 2px solid #7e8dfc;
}
CSS variables
:root {
  --color-primary: #7e8dfc;
  --color-primary-rgb: 126 141 252;
  --color-primary-hsl: 233 95% 74%;
}
Gradient
.gradient-7e8dfc {
  background: linear-gradient(135deg, #7e8dfc, #ae7efc);
}
Colored shadow
.shadow-7e8dfc {
  box-shadow: 0 8px 24px rgb(126 141 252 / 0.35);
}

Cornflower Blue
#7e8dfc  rgb(126, 141, 252)  hsl(233, 95%, 74%)  Cornflower Blue
#fced7e  rgb(252, 237, 126)  hsl(53, 95%, 74%)  Khaki
#fc7e8d  rgb(252, 126, 141)  hsl(353, 95%, 74%)  Light Coral
#8dfc7e  rgb(141, 252, 126)  hsl(113, 95%, 74%)  Mint Green