Skip to content

#191821

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

RGB
25, 24, 33
HSL
247°, 16%, 11%
CMYK
24, 27, 0, 87
Luminance
0.0097

Every format

HEX#191821
RGBrgb(25, 24, 33)
HSLhsl(247, 16%, 11%)
CMYKcmyk(24%, 27%, 0%, 87%)
LABlab(8.7 3.0 -6.1)
LCHlch(8.7 6.8 296.4)
OKLCHoklch(0.214 0.018 289.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#191821 on white: 17.59:1
AA ✓ pass · AA-large · AAA
Aa
#191821 on black: 1.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.8%
Green9.4%
Blue12.9%

CMYK percentages

Cyan24.2%
Magenta27.3%
Yellow0.0%
Key (black)87.1%

Color previews

#191821 text on a black background

contrast 1.19:1

Card sample

#191821 text on a white background

contrast 17.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(25, 24, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 24, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #191821;
background: linear-gradient(135deg, #191821, #1F1821);

Monochromatic scale

Palettes built from #191821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #191821 in the Color Lab