#6787F4

#6787f4 ≈ Cornflower Blue

  • blue
  • Lightness: high
  • Saturation: strong
  • Cool

#6787f4 is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 40.39% red, 52.94% green and 95.69% blue; printed in CMYK it uses 57.79% cyan, 44.67% magenta, 0% yellow and 4.31% black. Its hue angle is 226.38°, with 86.5% saturation and 68.04% 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.35:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 5.15.

Description generated from the measured properties of this color.

Conversions of #6787f4 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.2674

Readable text 3.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.35:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #808bbf ≈ 0.001% of males
Protanopia #5594f8 ≈ 1.01% of males
Deuteranopia #4187f2 ≈ 1.27% of males
Tritanopia #009fb2 ≈ 0.0001% of males
Protanomaly #5d8ff6 ≈ 1.08% of males
Deuteranomaly #5387f3 ≈ 4.63% of males
Tritanomaly #3e96d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6787f4 {
  color: #6787f4;
}
Background
.bg-6787f4 {
  background-color: #6787f4;
  color: #000000;
}
Border
.border-6787f4 {
  border: 2px solid #6787f4;
}
CSS variables
:root {
  --color-primary: #6787f4;
  --color-primary-rgb: 103 135 244;
  --color-primary-hsl: 226 87% 68%;
}
Gradient
.gradient-6787f4 {
  background: linear-gradient(135deg, #6787f4, #8d67f4);
}
Colored shadow
.shadow-6787f4 {
  box-shadow: 0 8px 24px rgb(103 135 244 / 0.35);
}

Cornflower Blue
#6787f4  rgb(103, 135, 244)  hsl(226, 87%, 68%)  Cornflower Blue
#f4d467  rgb(244, 212, 103)  hsl(46, 87%, 68%)  Naples Yellow
#f46787  rgb(244, 103, 135)  hsl(346, 87%, 68%)  Blush
#87f467  rgb(135, 244, 103)  hsl(106, 87%, 68%)  Mint Green