#798BEF

#798bef ≈ Cornflower Blue

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

#798bef is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.45% red, 54.51% green and 93.73% blue; printed in CMYK it uses 49.37% cyan, 41.84% magenta, 0% yellow and 6.27% black. Its hue angle is 230.85°, with 78.67% saturation and 70.59% 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 6.75:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 6.27.

Description generated from the measured properties of this color.

Conversions of #798bef 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.2876

Readable text 3.11:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #929292 ≈ 0.003% of males
Achromatomaly #898fbe ≈ 0.001% of males
Protanopia #6397f3 ≈ 1.01% of males
Deuteranopia #578ded ≈ 1.27% of males
Tritanopia #49a0b1 ≈ 0.0001% of males
Protanomaly #6c92f1 ≈ 1.08% of males
Deuteranomaly #668cee ≈ 4.63% of males
Tritanomaly #6098cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-798bef {
  color: #798bef;
}
Background
.bg-798bef {
  background-color: #798bef;
  color: #000000;
}
Border
.border-798bef {
  border: 2px solid #798bef;
}
CSS variables
:root {
  --color-primary: #798bef;
  --color-primary-rgb: 121 139 239;
  --color-primary-hsl: 231 79% 71%;
}
Gradient
.gradient-798bef {
  background: linear-gradient(135deg, #798bef, #a279ef);
}
Colored shadow
.shadow-798bef {
  box-shadow: 0 8px 24px rgb(121 139 239 / 0.35);
}

Cornflower Blue
#798bef  rgb(121, 139, 239)  hsl(231, 79%, 71%)  Cornflower Blue
#efdd79  rgb(239, 221, 121)  hsl(51, 79%, 71%)  Flax
#ef798b  rgb(239, 121, 139)  hsl(351, 79%, 71%)  Light Coral
#8bef79  rgb(139, 239, 121)  hsl(111, 79%, 71%)  Light Green