Skip to content

#08261f

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

RGB
8, 38, 31
HSL
166°, 65%, 9%
CMYK
79, 0, 18, 85
Luminance
0.0154

Every format

HEX#08261f
RGBrgb(8, 38, 31)
HSLhsl(166, 65%, 9%)
CMYKcmyk(79%, 0%, 18%, 85%)
LABlab(12.8 -13.3 1.4)
LCHlch(12.8 13.4 174.1)
OKLCHoklch(0.244 0.038 174.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#08261f on white: 16.06:1
AA ✓ pass · AA-large · AAA
Aa
#08261f on black: 1.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green14.9%
Blue12.2%

CMYK percentages

Cyan78.9%
Magenta0.0%
Yellow18.4%
Key (black)85.1%

Color previews

#08261f text on a black background

contrast 1.31:1

Card sample

#08261f text on a white background

contrast 16.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #08261f;
Background color
Panel with #08261f background
background-color: #08261f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #08261f;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #08261f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #08261f in the Color Lab