Skip to content

#0f261f

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

RGB
15, 38, 31
HSL
162°, 43%, 10%
CMYK
61, 0, 18, 85
Luminance
0.0159

Every format

HEX#0f261f
RGBrgb(15, 38, 31)
HSLhsl(162, 43%, 10%)
CMYKcmyk(61%, 0%, 18%, 85%)
LABlab(13.2 -11.3 1.9)
LCHlch(13.2 11.4 170.6)
OKLCHoklch(0.247 0.032 171.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f261f on white: 15.94:1
AA ✓ pass · AA-large · AAA
Aa
#0f261f on black: 1.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green14.9%
Blue12.2%

CMYK percentages

Cyan60.5%
Magenta0.0%
Yellow18.4%
Key (black)85.1%

Color previews

#0f261f text on a black background

contrast 1.32:1

Card sample

#0f261f text on a white background

contrast 15.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f261f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f261f in the Color Lab