#838DFE

#838dfe ≈ Cornflower Blue

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

#838dfe is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 51.37% red, 55.29% green and 99.61% blue; printed in CMYK it uses 48.43% cyan, 44.49% magenta, 0% yellow and 0.39% black. Its hue angle is 235.12°, with 98.4% saturation and 75.49% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 7.21:1 (WCAG AAA). The closest named color is Cornflower Blue (#6495ed), ΔE 7.81.

Description generated from the measured properties of this color.

Conversions of #838dfe into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9999ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3103

Readable text 2.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #979797 ≈ 0.003% of males
Achromatomaly #9093c9 ≈ 0.001% of males
Protanopia #5e9cff ≈ 1.01% of males
Deuteranopia #5393fb ≈ 1.27% of males
Tritanopia #53a5b9 ≈ 0.0001% of males
Protanomaly #6f96ff ≈ 1.08% of males
Deuteranomaly #6a90fd ≈ 4.63% of males
Tritanomaly #6a9cd8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-838dfe {
  color: #838dfe;
}
Background
.bg-838dfe {
  background-color: #838dfe;
  color: #000000;
}
Border
.border-838dfe {
  border: 2px solid #838dfe;
}
CSS variables
:root {
  --color-primary: #838dfe;
  --color-primary-rgb: 131 141 254;
  --color-primary-hsl: 235 98% 75%;
}
Gradient
.gradient-838dfe {
  background: linear-gradient(135deg, #838dfe, #b683fe);
}
Colored shadow
.shadow-838dfe {
  box-shadow: 0 8px 24px rgb(131 141 254 / 0.35);
}

Cornflower Blue
#838dfe  rgb(131, 141, 254)  hsl(235, 98%, 75%)  Cornflower Blue
#fef483  rgb(254, 244, 131)  hsl(55, 98%, 75%)  Pastel Yellow
#fe838d  rgb(254, 131, 141)  hsl(355, 98%, 75%)  Light Coral
#8dfe83  rgb(141, 254, 131)  hsl(115, 98%, 75%)  Mint Green