Skip to content

#8fa2ac

a balanced, muted blue · cool · closest name: gray

RGB
143, 162, 172
HSL
201°, 15%, 62%
CMYK
17, 6, 0, 33
Luminance
0.3466

Every format

HEX#8fa2ac
RGBrgb(143, 162, 172)
HSLhsl(201, 15%, 62%)
CMYKcmyk(17%, 6%, 0%, 33%)
LABlab(65.5 -4.5 -7.4)
LCHlch(65.5 8.7 238.8)
OKLCHoklch(0.701 0.026 230.6)

Copy-ready code

/* CSS */
color: #8fa2ac;
background-color: #8fa2ac;
/* Tailwind (arbitrary) */
class="text-[#8fa2ac] bg-[#8fa2ac]"
/* SCSS */
$brand: #8fa2ac;
/* SwiftUI */
Color(red: 0.561, green: 0.635, blue: 0.675)
/* Android */
Color.parseColor("#8fa2ac")

Accessibility — WCAG contrast

Aa
#8fa2ac on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#8fa2ac on black: 7.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green63.5%
Blue67.5%

CMYK percentages

Cyan16.9%
Magenta5.8%
Yellow0.0%
Key (black)32.5%

Color previews

#8fa2ac text on a black background

contrast 7.93:1

Card sample

#8fa2ac text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8fa2ac;
Background color
Panel with #8fa2ac background
background-color: #8fa2ac;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8fa2ac;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(143, 162, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 162, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8fa2ac;
background: linear-gradient(135deg, #8fa2ac, #8F8FAC);

Monochromatic scale

Palettes built from #8fa2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8fa2ac in the Color Lab