#87A2FF

#87a2ff ≈ Cornflower Blue

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

#87a2ff is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 52.94% red, 63.53% green and 100% blue; printed in CMYK it uses 47.06% cyan, 36.47% magenta, 0% yellow and 0% black. Its hue angle is 226.5°, with 100% saturation and 76.47% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 8.64:1 (WCAG AAA). The closest named color is Cornflower Blue (#6495ed), ΔE 6.42.

Description generated from the measured properties of this color.

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

Readable text 2.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a6a6a6 ≈ 0.003% of males
Achromatomaly #9ba5d0 ≈ 0.001% of males
Protanopia #7facff ≈ 1.01% of males
Deuteranopia #73a1fd ≈ 1.27% of males
Tritanopia #58b5c4 ≈ 0.0001% of males
Protanomaly #82a8ff ≈ 1.08% of males
Deuteranomaly #7ca2fe ≈ 4.63% of males
Tritanomaly #6eaede ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-87a2ff {
  color: #87a2ff;
}
Background
.bg-87a2ff {
  background-color: #87a2ff;
  color: #000000;
}
Border
.border-87a2ff {
  border: 2px solid #87a2ff;
}
CSS variables
:root {
  --color-primary: #87a2ff;
  --color-primary-rgb: 135 162 255;
  --color-primary-hsl: 227 100% 76%;
}
Gradient
.gradient-87a2ff {
  background: linear-gradient(135deg, #87a2ff, #a887ff);
}
Colored shadow
.shadow-87a2ff {
  box-shadow: 0 8px 24px rgb(135 162 255 / 0.35);
}

Cornflower Blue
#87a2ff  rgb(135, 162, 255)  hsl(227, 100%, 76%)  Cornflower Blue
#ffe487  rgb(255, 228, 135)  hsl(47, 100%, 76%)  Jasmine
#ff87a2  rgb(255, 135, 162)  hsl(347, 100%, 76%)  Flamingo Pink
#a2ff87  rgb(162, 255, 135)  hsl(107, 100%, 76%)  Mint Green