#838baf ≈ Cool Gray
#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.
| 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 luminance | 0.2639 |
Shades
#838baf mixed progressively with black.
Tints
#838baf mixed progressively with white.
Tones
#838baf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-838baf {
color: #838baf;
}
.bg-838baf {
background-color: #838baf;
color: #000000;
}
.border-838baf {
border: 2px solid #838baf;
}
:root {
--color-primary: #838baf;
--color-primary-rgb: 131 139 175;
--color-primary-hsl: 229 22% 60%;
}
.gradient-838baf {
background: linear-gradient(135deg, #838baf, #9183af);
}
.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