Skip to content

#2f2b3d

a deep, soft blue · warm · closest name: black

RGB
47, 43, 61
HSL
253°, 17%, 20%
CMYK
23, 30, 0, 76
Luminance
0.0267

Every format

HEX#2f2b3d
RGBrgb(47, 43, 61)
HSLhsl(253, 17%, 20%)
CMYKcmyk(23%, 30%, 0%, 76%)
LABlab(18.7 6.4 -10.8)
LCHlch(18.7 12.5 300.8)
OKLCHoklch(0.301 0.033 294.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f2b3d on white: 13.69:1
AA ✓ pass · AA-large · AAA
Aa
#2f2b3d on black: 1.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green16.9%
Blue23.9%

CMYK percentages

Cyan23.0%
Magenta29.5%
Yellow0.0%
Key (black)76.1%

Color previews

#2f2b3d text on a black background

contrast 1.53:1

Card sample

#2f2b3d text on a white background

contrast 13.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 43, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 43, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f2b3d;
background: linear-gradient(135deg, #2f2b3d, #3B2B3D);

Monochromatic scale

Palettes built from #2f2b3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f2b3d in the Color Lab