#838CB4

#838cb4 ≈ Cool Gray

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

#838cb4 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.9% green and 70.59% blue; printed in CMYK it uses 27.22% cyan, 22.22% magenta, 0% yellow and 29.41% black. Its hue angle is 228.98°, with 24.62% saturation and 60.98% 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.38:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 4.7.

Description generated from the measured properties of this color.

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

Readable text 3.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.38:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #898d9e ≈ 0.001% of males
Protanopia #8090b6 ≈ 1.01% of males
Deuteranopia #7d8cb3 ≈ 1.27% of males
Tritanopia #77939a ≈ 0.0001% of males
Protanomaly #818eb5 ≈ 1.08% of males
Deuteranomaly #7f8cb3 ≈ 4.63% of males
Tritanomaly #7c91a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-838cb4 {
  color: #838cb4;
}
Background
.bg-838cb4 {
  background-color: #838cb4;
  color: #000000;
}
Border
.border-838cb4 {
  border: 2px solid #838cb4;
}
CSS variables
:root {
  --color-primary: #838cb4;
  --color-primary-rgb: 131 140 180;
  --color-primary-hsl: 229 25% 61%;
}
Gradient
.gradient-838cb4 {
  background: linear-gradient(135deg, #838cb4, #9383b4);
}
Colored shadow
.shadow-838cb4 {
  box-shadow: 0 8px 24px rgb(131 140 180 / 0.35);
}

Cool Gray
#838cb4  rgb(131, 140, 180)  hsl(229, 25%, 61%)  Cool Gray
#b4ab83  rgb(180, 171, 131)  hsl(49, 25%, 61%)  Ecru
#b4838c  rgb(180, 131, 140)  hsl(349, 25%, 61%)  Rosy Brown
#8cb483  rgb(140, 180, 131)  hsl(109, 25%, 61%)  Dark Sea Green