Skip to content

#0f2e2e

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

RGB
15, 46, 46
HSL
180°, 51%, 12%
CMYK
67, 0, 0, 82
Luminance
0.0225

Every format

HEX#0f2e2e
RGBrgb(15, 46, 46)
HSLhsl(180, 51%, 12%)
CMYKcmyk(67%, 0%, 0%, 82%)
LABlab(16.8 -11.3 -3.5)
LCHlch(16.8 11.8 197.0)
OKLCHoklch(0.278 0.036 195.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red5.9%
Green18.0%
Blue18.0%

CMYK percentages

Cyan67.4%
Magenta0.0%
Yellow0.0%
Key (black)82.0%

Color previews

#0f2e2e text on a black background

contrast 1.45:1

Card sample

#0f2e2e text on a white background

contrast 14.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2e2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2e2e in the Color Lab