Skip to content

#0f3f2f

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

RGB
15, 63, 47
HSL
160°, 62%, 15%
CMYK
76, 0, 25, 75
Luminance
0.0386

Every format

HEX#0f3f2f
RGBrgb(15, 63, 47)
HSLhsl(160, 62%, 15%)
CMYKcmyk(76%, 0%, 25%, 75%)
LABlab(23.2 -20.6 5.2)
LCHlch(23.2 21.2 165.8)
OKLCHoklch(0.331 0.059 166.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f3f2f on white: 11.85:1
AA ✓ pass · AA-large · AAA
Aa
#0f3f2f on black: 1.77:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green24.7%
Blue18.4%

CMYK percentages

Cyan76.2%
Magenta0.0%
Yellow25.4%
Key (black)75.3%

Color previews

#0f3f2f text on a black background

contrast 1.77:1

Card sample

#0f3f2f text on a white background

contrast 11.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f3f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f3f2f in the Color Lab