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