#818CAF

#818caf ≈ Cool Gray

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

#818caf is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 50.59% red, 54.9% green and 68.63% blue; printed in CMYK it uses 26.29% cyan, 20% magenta, 0% yellow and 31.37% black. Its hue angle is 225.65°, with 22.33% saturation and 59.61% 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.3:1 (WCAG AA). The closest named color is Cool Gray (#8c92ac), ΔE 3.82.

Description generated from the measured properties of this color.

Conversions of #818caf 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.2652

Readable text 3.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #888c9c ≈ 0.001% of males
Protanopia #828fb1 ≈ 1.01% of males
Deuteranopia #7e8bae ≈ 1.27% of males
Tritanopia #759398 ≈ 0.0001% of males
Protanomaly #818eb0 ≈ 1.08% of males
Deuteranomaly #7f8bae ≈ 4.63% of males
Tritanomaly #7a90a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-818caf {
  color: #818caf;
}
Background
.bg-818caf {
  background-color: #818caf;
  color: #000000;
}
Border
.border-818caf {
  border: 2px solid #818caf;
}
CSS variables
:root {
  --color-primary: #818caf;
  --color-primary-rgb: 129 140 175;
  --color-primary-hsl: 226 22% 60%;
}
Gradient
.gradient-818caf {
  background: linear-gradient(135deg, #818caf, #8d81af);
}
Colored shadow
.shadow-818caf {
  box-shadow: 0 8px 24px rgb(129 140 175 / 0.35);
}

Cool Gray
#818caf  rgb(129, 140, 175)  hsl(226, 22%, 60%)  Cool Gray
#afa481  rgb(175, 164, 129)  hsl(46, 22%, 60%)  Ecru
#af818c  rgb(175, 129, 140)  hsl(346, 22%, 60%)  Turkish Rose
#8caf81  rgb(140, 175, 129)  hsl(106, 22%, 60%)  Dark Sea Green