Skip to content

#173549

a deep, vivid blue · cool · closest name: darkslategray

RGB
23, 53, 73
HSL
204°, 52%, 19%
CMYK
69, 27, 0, 71
Luminance
0.0321

Every format

HEX#173549
RGBrgb(23, 53, 73)
HSLhsl(204, 52%, 19%)
CMYKcmyk(69%, 27%, 0%, 71%)
LABlab(20.9 -3.9 -15.7)
LCHlch(20.9 16.2 255.9)
OKLCHoklch(0.316 0.051 240.2)

Copy-ready code

/* CSS */
color: #173549;
background-color: #173549;
/* Tailwind (arbitrary) */
class="text-[#173549] bg-[#173549]"
/* SCSS */
$brand: #173549;
/* SwiftUI */
Color(red: 0.090, green: 0.208, blue: 0.286)
/* Android */
Color.parseColor("#173549")

Accessibility — WCAG contrast

Aa
#173549 on white: 12.79:1
AA ✓ pass · AA-large · AAA
Aa
#173549 on black: 1.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green20.8%
Blue28.6%

CMYK percentages

Cyan68.5%
Magenta27.4%
Yellow0.0%
Key (black)71.4%

Color previews

#173549 text on a black background

contrast 1.64:1

Card sample

#173549 text on a white background

contrast 12.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(23, 53, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 53, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #173549;
background: linear-gradient(135deg, #173549, #1A1749);

Monochromatic scale

Palettes built from #173549

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #173549 in the Color Lab