Skip to content

#2a3c3c

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

RGB
42, 60, 60
HSL
180°, 18%, 20%
CMYK
30, 0, 0, 77
Luminance
0.0405

Every format

HEX#2a3c3c
RGBrgb(42, 60, 60)
HSLhsl(180, 18%, 20%)
CMYKcmyk(30%, 0%, 0%, 77%)
LABlab(23.8 -7.2 -2.4)
LCHlch(23.8 7.6 198.1)
OKLCHoklch(0.341 0.023 196.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2a3c3c on white: 11.60:1
AA ✓ pass · AA-large · AAA
Aa
#2a3c3c on black: 1.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green23.5%
Blue23.5%

CMYK percentages

Cyan30.0%
Magenta0.0%
Yellow0.0%
Key (black)76.5%

Color previews

#2a3c3c text on a black background

contrast 1.81:1

Card sample

#2a3c3c text on a white background

contrast 11.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 60, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 60, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2a3c3c;
background: linear-gradient(135deg, #2a3c3c, #2A303C);

Monochromatic scale

Palettes built from #2a3c3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2a3c3c in the Color Lab