Skip to content

#0f2e2d

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

RGB
15, 46, 45
HSL
178°, 51%, 12%
CMYK
67, 0, 2, 82
Luminance
0.0225

Every format

HEX#0f2e2d
RGBrgb(15, 46, 45)
HSLhsl(178, 51%, 12%)
CMYKcmyk(67%, 0%, 2%, 82%)
LABlab(16.7 -11.7 -2.8)
LCHlch(16.7 12.0 193.6)
OKLCHoklch(0.278 0.036 192.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2e2d on white: 14.49:1
AA ✓ pass · AA-large · AAA
Aa
#0f2e2d on black: 1.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green18.0%
Blue17.6%

CMYK percentages

Cyan67.4%
Magenta0.0%
Yellow2.2%
Key (black)82.0%

Color previews

#0f2e2d text on a black background

contrast 1.45:1

Card sample

#0f2e2d text on a white background

contrast 14.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2e2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2e2d in the Color Lab