Skip to content

#9ba3ba

a light, soft blue · cool · closest name: silver

RGB
155, 163, 186
HSL
225°, 18%, 67%
CMYK
17, 12, 0, 27
Luminance
0.3671

Every format

HEX#9ba3ba
RGBrgb(155, 163, 186)
HSLhsl(225, 18%, 67%)
CMYKcmyk(17%, 12%, 0%, 27%)
LABlab(67.1 2.0 -12.8)
LCHlch(67.1 12.9 278.8)
OKLCHoklch(0.717 0.035 270.3)

Copy-ready code

/* CSS */
color: #9ba3ba;
background-color: #9ba3ba;
/* Tailwind (arbitrary) */
class="text-[#9ba3ba] bg-[#9ba3ba]"
/* SCSS */
$brand: #9ba3ba;
/* SwiftUI */
Color(red: 0.608, green: 0.639, blue: 0.729)
/* Android */
Color.parseColor("#9ba3ba")

Accessibility — WCAG contrast

Aa
#9ba3ba on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#9ba3ba on black: 8.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.8%
Green63.9%
Blue72.9%

CMYK percentages

Cyan16.7%
Magenta12.4%
Yellow0.0%
Key (black)27.1%

Color previews

#9ba3ba text on a black background

contrast 8.34:1

Card sample

#9ba3ba text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9ba3ba;
Background color
Panel with #9ba3ba background
background-color: #9ba3ba;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 163, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 163, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9ba3ba;
background: linear-gradient(135deg, #9ba3ba, #A89BBA);

Monochromatic scale

Palettes built from #9ba3ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9ba3ba in the Color Lab