Skip to content

#0f2421

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

RGB
15, 36, 33
HSL
171°, 41%, 10%
CMYK
58, 0, 8, 86
Luminance
0.0147

Every format

HEX#0f2421
RGBrgb(15, 36, 33)
HSLhsl(171, 41%, 10%)
CMYKcmyk(58%, 0%, 8%, 86%)
LABlab(12.4 -9.4 -0.6)
LCHlch(12.4 9.4 183.7)
OKLCHoklch(0.242 0.028 183.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2421 on white: 16.22:1
AA ✓ pass · AA-large · AAA
Aa
#0f2421 on black: 1.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green14.1%
Blue12.9%

CMYK percentages

Cyan58.3%
Magenta0.0%
Yellow8.3%
Key (black)85.9%

Color previews

#0f2421 text on a black background

contrast 1.29:1

Card sample

#0f2421 text on a white background

contrast 16.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 36, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 36, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f2421;
background: linear-gradient(135deg, #0f2421, #0F1924);

Monochromatic scale

Palettes built from #0f2421

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2421 in the Color Lab