#768AFF

#768aff ≈ Cornflower Blue

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

#768aff is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 46.27% red, 54.12% green and 100% blue; printed in CMYK it uses 53.73% cyan, 45.88% magenta, 0% yellow and 0% black. Its hue angle is 231.24°, with 100% saturation and 73.14% 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.85:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 6.44.

Description generated from the measured properties of this color.

Conversions of #768aff 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.2925

Readable text 3.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #939393 ≈ 0.003% of males
Achromatomaly #8890c8 ≈ 0.001% of males
Protanopia #5599ff ≈ 1.01% of males
Deuteranopia #448efc ≈ 1.27% of males
Tritanopia #30a4b8 ≈ 0.0001% of males
Protanomaly #6493ff ≈ 1.08% of males
Deuteranomaly #5c8cfd ≈ 4.63% of males
Tritanomaly #559ad8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-768aff {
  color: #768aff;
}
Background
.bg-768aff {
  background-color: #768aff;
  color: #000000;
}
Border
.border-768aff {
  border: 2px solid #768aff;
}
CSS variables
:root {
  --color-primary: #768aff;
  --color-primary-rgb: 118 138 255;
  --color-primary-hsl: 231 100% 73%;
}
Gradient
.gradient-768aff {
  background: linear-gradient(135deg, #768aff, #a776ff);
}
Colored shadow
.shadow-768aff {
  box-shadow: 0 8px 24px rgb(118 138 255 / 0.35);
}

Cornflower Blue
#768aff  rgb(118, 138, 255)  hsl(231, 100%, 73%)  Cornflower Blue
#ffeb76  rgb(255, 235, 118)  hsl(51, 100%, 73%)  Jasmine
#ff768a  rgb(255, 118, 138)  hsl(351, 100%, 73%)  Light Coral
#8aff76  rgb(138, 255, 118)  hsl(111, 100%, 73%)  Mint Green