#8ba5af
a balanced, soft cyan · cool · closest name: silver
RGB
139, 165, 175
HSL
197°, 18%, 62%
CMYK
21, 6, 0, 31
Luminance
0.3549
Every format
| HEX | #8ba5af |
| RGB | rgb(139, 165, 175) |
| HSL | hsl(197, 18%, 62%) |
| CMYK | cmyk(21%, 6%, 0%, 31%) |
| LAB | lab(66.1 -6.8 -8.2) |
| LCH | lch(66.1 10.6 230.4) |
| OKLCH | oklch(0.705 0.032 223.1) |
Copy-ready code
/* CSS */
color: #8ba5af;
background-color: #8ba5af;
/* Tailwind (arbitrary) */
class="text-[#8ba5af] bg-[#8ba5af]"
/* SCSS */
$brand: #8ba5af;
/* SwiftUI */
Color(red: 0.545, green: 0.647, blue: 0.686)
/* Android */
Color.parseColor("#8ba5af")Accessibility — WCAG contrast
Aa
#8ba5af on white: 2.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8ba5af on black: 8.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.5%
Green64.7%
Blue68.6%
CMYK percentages
Cyan20.6%
Magenta5.7%
Yellow0.0%
Key (black)31.4%
Color previews
#8ba5af text on a black background
contrast 8.10:1
Card sample
#8ba5af text on a white background
contrast 2.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8ba5af;
Background color
Panel with #8ba5af background
background-color: #8ba5af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8ba5af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(139, 165, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 165, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ba5af; background: linear-gradient(135deg, #8ba5af, #8B8DAF);