#8c91af
a balanced, soft blue · warm · closest name: gray
RGB
140, 145, 175
HSL
231°, 18%, 62%
CMYK
20, 17, 0, 31
Luminance
0.2892
Every format
| HEX | #8c91af |
| RGB | rgb(140, 145, 175) |
| HSL | hsl(231, 18%, 62%) |
| CMYK | cmyk(20%, 17%, 0%, 31%) |
| LAB | lab(60.7 4.7 -16.3) |
| LCH | lch(60.7 16.9 286.1) |
| OKLCH | oklch(0.663 0.045 277.7) |
Copy-ready code
/* CSS */
color: #8c91af;
background-color: #8c91af;
/* Tailwind (arbitrary) */
class="text-[#8c91af] bg-[#8c91af]"
/* SCSS */
$brand: #8c91af;
/* SwiftUI */
Color(red: 0.549, green: 0.569, blue: 0.686)
/* Android */
Color.parseColor("#8c91af")Accessibility — WCAG contrast
Aa
#8c91af on white: 3.10:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#8c91af on black: 6.78:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.9%
Green56.9%
Blue68.6%
CMYK percentages
Cyan20.0%
Magenta17.1%
Yellow0.0%
Key (black)31.4%
Color previews
#8c91af text on a black background
contrast 6.78:1
Card sample
#8c91af text on a white background
contrast 3.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8c91af;
Background color
Panel with #8c91af background
background-color: #8c91af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8c91af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(140, 145, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 145, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c91af; background: linear-gradient(135deg, #8c91af, #9E8CAF);