Skip to content

#123747

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

RGB
18, 55, 71
HSL
198°, 60%, 18%
CMYK
75, 23, 0, 72
Luminance
0.0332

Every format

HEX#123747
RGBrgb(18, 55, 71)
HSLhsl(198, 60%, 18%)
CMYKcmyk(75%, 23%, 0%, 72%)
LABlab(21.3 -7.1 -13.7)
LCHlch(21.3 15.4 242.7)
OKLCHoklch(0.318 0.050 229.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#123747 on white: 12.63:1
AA ✓ pass · AA-large · AAA
Aa
#123747 on black: 1.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red7.1%
Green21.6%
Blue27.8%

CMYK percentages

Cyan74.6%
Magenta22.5%
Yellow0.0%
Key (black)72.2%

Color previews

#123747 text on a black background

contrast 1.66:1

Card sample

#123747 text on a white background

contrast 12.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(18, 55, 71, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 55, 71, 0.45);
Border & gradient
Gradient panel
border: 3px solid #123747;
background: linear-gradient(135deg, #123747, #121447);

Monochromatic scale

Palettes built from #123747

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #123747 in the Color Lab