#798EF5

#798ef5 ≈ Cornflower Blue

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

#798ef5 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.45% red, 55.69% green and 96.08% blue; printed in CMYK it uses 50.61% cyan, 42.04% magenta, 0% yellow and 3.92% black. Its hue angle is 229.84°, with 86.11% saturation and 71.76% 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 (WCAG AAA). The closest named color is Cornflower Blue (#6495ed), ΔE 5.6.

Description generated from the measured properties of this color.

Conversions of #798ef5 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.3

Readable text 3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #959595 ≈ 0.003% of males
Achromatomaly #8b92c3 ≈ 0.001% of males
Protanopia #649af9 ≈ 1.01% of males
Deuteranopia #5790f3 ≈ 1.27% of males
Tritanopia #43a4b6 ≈ 0.0001% of males
Protanomaly #6d96f7 ≈ 1.08% of males
Deuteranomaly #668ff4 ≈ 4.63% of males
Tritanomaly #5d9cd2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-798ef5 {
  color: #798ef5;
}
Background
.bg-798ef5 {
  background-color: #798ef5;
  color: #000000;
}
Border
.border-798ef5 {
  border: 2px solid #798ef5;
}
CSS variables
:root {
  --color-primary: #798ef5;
  --color-primary-rgb: 121 142 245;
  --color-primary-hsl: 230 86% 72%;
}
Gradient
.gradient-798ef5 {
  background: linear-gradient(135deg, #798ef5, #a279f5);
}
Colored shadow
.shadow-798ef5 {
  box-shadow: 0 8px 24px rgb(121 142 245 / 0.35);
}

Cornflower Blue
#798ef5  rgb(121, 142, 245)  hsl(230, 86%, 72%)  Cornflower Blue
#f5e079  rgb(245, 224, 121)  hsl(50, 86%, 72%)  Jasmine
#f5798e  rgb(245, 121, 142)  hsl(350, 86%, 72%)  Salmon Pink
#8ef579  rgb(142, 245, 121)  hsl(110, 86%, 72%)  Mint Green