#8f98ac
a balanced, muted blue · cool · closest name: gray
RGB
143, 152, 172
HSL
221°, 15%, 62%
CMYK
17, 12, 0, 33
Luminance
0.3127
Every format
| HEX | #8f98ac |
| RGB | rgb(143, 152, 172) |
| HSL | hsl(221, 15%, 62%) |
| CMYK | cmyk(17%, 12%, 0%, 33%) |
| LAB | lab(62.7 1.0 -11.5) |
| LCH | lch(62.7 11.6 275.2) |
| OKLCH | oklch(0.679 0.031 266.3) |
Copy-ready code
/* CSS */
color: #8f98ac;
background-color: #8f98ac;
/* Tailwind (arbitrary) */
class="text-[#8f98ac] bg-[#8f98ac]"
/* SCSS */
$brand: #8f98ac;
/* SwiftUI */
Color(red: 0.561, green: 0.596, blue: 0.675)
/* Android */
Color.parseColor("#8f98ac")Accessibility — WCAG contrast
Aa
#8f98ac on white: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8f98ac on black: 7.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green59.6%
Blue67.5%
CMYK percentages
Cyan16.9%
Magenta11.6%
Yellow0.0%
Key (black)32.5%
Color previews
#8f98ac text on a black background
contrast 7.25:1
Card sample
#8f98ac text on a white background
contrast 2.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8f98ac;
Background color
Panel with #8f98ac background
background-color: #8f98ac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8f98ac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 152, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 152, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f98ac; background: linear-gradient(135deg, #8f98ac, #998FAC);