#628CEB

#628ceb ≈ Cornflower Blue

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

#628ceb is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 38.43% red, 54.9% green and 92.16% blue; printed in CMYK it uses 58.3% cyan, 40.43% magenta, 0% yellow and 7.84% black. Its hue angle is 221.61°, with 77.4% saturation and 65.29% 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.47:1 (WCAG AA). The closest named color is Cornflower Blue (#6495ed), ΔE 2.93.

Description generated from the measured properties of this color.

Conversions of #628ceb 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.2735

Readable text 3.25:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8f8f8f ≈ 0.003% of males
Achromatomaly #7f8ebb ≈ 0.001% of males
Protanopia #6395ef ≈ 1.01% of males
Deuteranopia #5089e9 ≈ 1.27% of males
Tritanopia #00a1b0 ≈ 0.0001% of males
Protanomaly #6392ed ≈ 1.08% of males
Deuteranomaly #588aea ≈ 4.63% of males
Tritanomaly #3899ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-628ceb {
  color: #628ceb;
}
Background
.bg-628ceb {
  background-color: #628ceb;
  color: #000000;
}
Border
.border-628ceb {
  border: 2px solid #628ceb;
}
CSS variables
:root {
  --color-primary: #628ceb;
  --color-primary-rgb: 98 140 235;
  --color-primary-hsl: 222 77% 65%;
}
Gradient
.gradient-628ceb {
  background: linear-gradient(135deg, #628ceb, #7c62eb);
}
Colored shadow
.shadow-628ceb {
  box-shadow: 0 8px 24px rgb(98 140 235 / 0.35);
}

Cornflower Blue
#628ceb  rgb(98, 140, 235)  hsl(222, 77%, 65%)  Cornflower Blue
#ebc162  rgb(235, 193, 98)  hsl(42, 77%, 65%)  Meat Brown
#eb628c  rgb(235, 98, 140)  hsl(342, 77%, 65%)  Blush
#8ceb62  rgb(140, 235, 98)  hsl(102, 77%, 65%)  Inchworm