Skip to content

#8aa2ac

a balanced, soft cyan · cool · closest name: gray

RGB
138, 162, 172
HSL
198°, 17%, 61%
CMYK
20, 6, 0, 33
Luminance
0.3422

Every format

HEX#8aa2ac
RGBrgb(138, 162, 172)
HSLhsl(198, 17%, 61%)
CMYKcmyk(20%, 6%, 0%, 33%)
LABlab(65.1 -6.1 -8.0)
LCHlch(65.1 10.1 232.4)
OKLCHoklch(0.697 0.031 224.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8aa2ac on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#8aa2ac on black: 7.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green63.5%
Blue67.5%

CMYK percentages

Cyan19.8%
Magenta5.8%
Yellow0.0%
Key (black)32.5%

Color previews

#8aa2ac text on a black background

contrast 7.84:1

Card sample

#8aa2ac text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8aa2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8aa2ac in the Color Lab