#838BAF

#838baf ≈ Cool Gray

  • blue
  • Lightness: medium
  • Saturation: muted
  • Cool

#838baf is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 51.37% red, 54.51% green and 68.63% blue; printed in CMYK it uses 25.14% cyan, 20.57% magenta, 0% yellow and 31.37% black. Its hue angle is 229.09°, with 21.57% saturation and 60% 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.28:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 3.92.

Description generated from the measured properties of this color.

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

Readable text 3.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #898c9b ≈ 0.001% of males
Protanopia #818eb1 ≈ 1.01% of males
Deuteranopia #7e8bae ≈ 1.27% of males
Tritanopia #789297 ≈ 0.0001% of males
Protanomaly #828db0 ≈ 1.08% of males
Deuteranomaly #808bae ≈ 4.63% of males
Tritanomaly #7d8fa1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-838baf {
  color: #838baf;
}
Background
.bg-838baf {
  background-color: #838baf;
  color: #000000;
}
Border
.border-838baf {
  border: 2px solid #838baf;
}
CSS variables
:root {
  --color-primary: #838baf;
  --color-primary-rgb: 131 139 175;
  --color-primary-hsl: 229 22% 60%;
}
Gradient
.gradient-838baf {
  background: linear-gradient(135deg, #838baf, #9183af);
}
Colored shadow
.shadow-838baf {
  box-shadow: 0 8px 24px rgb(131 139 175 / 0.35);
}

Cool Gray
#838baf  rgb(131, 139, 175)  hsl(229, 22%, 60%)  Cool Gray
#afa783  rgb(175, 167, 131)  hsl(49, 22%, 60%)  Sage
#af838b  rgb(175, 131, 139)  hsl(349, 22%, 60%)  Rosy Brown
#8baf83  rgb(139, 175, 131)  hsl(109, 22%, 60%)  Dark Sea Green