#8A8FDB

#8a8fdb ≈ Cornflower Blue

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

#8a8fdb is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 56.08% green and 85.88% blue; printed in CMYK it uses 36.99% cyan, 34.7% magenta, 0% yellow and 14.12% black. Its hue angle is 236.3°, with 52.94% saturation and 70% 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 brand accents. Black text on this color reaches a contrast ratio of 7.03:1 (WCAG AAA). The closest named color is Cornflower Blue (#6495ed), ΔE 9.58.

Description generated from the measured properties of this color.

Conversions of #8a8fdb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9999cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3016

Readable text 2.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #959595 ≈ 0.003% of males
Achromatomaly #9193b5 ≈ 0.001% of males
Protanopia #7698de ≈ 1.01% of males
Deuteranopia #7292d9 ≈ 1.27% of males
Tritanopia #739eab ≈ 0.0001% of males
Protanomaly #7f95dd ≈ 1.08% of males
Deuteranomaly #7c91da ≈ 4.63% of males
Tritanomaly #7d98c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a8fdb {
  color: #8a8fdb;
}
Background
.bg-8a8fdb {
  background-color: #8a8fdb;
  color: #000000;
}
Border
.border-8a8fdb {
  border: 2px solid #8a8fdb;
}
CSS variables
:root {
  --color-primary: #8a8fdb;
  --color-primary-rgb: 138 143 219;
  --color-primary-hsl: 236 53% 70%;
}
Gradient
.gradient-8a8fdb {
  background: linear-gradient(135deg, #8a8fdb, #ae8adb);
}
Colored shadow
.shadow-8a8fdb {
  box-shadow: 0 8px 24px rgb(138 143 219 / 0.35);
}

Cornflower Blue
#8a8fdb  rgb(138, 143, 219)  hsl(236, 53%, 70%)  Cornflower Blue
#dbd68a  rgb(219, 214, 138)  hsl(56, 53%, 70%)  Khaki
#db8a8f  rgb(219, 138, 143)  hsl(356, 53%, 70%)  Light Coral
#8fdb8a  rgb(143, 219, 138)  hsl(116, 53%, 70%)  Pastel Green