Skip to content

#080c0f

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

RGB
8, 12, 15
HSL
206°, 30%, 5%
CMYK
47, 20, 0, 94
Luminance
0.0035

Every format

HEX#080c0f
RGBrgb(8, 12, 15)
HSLhsl(206, 30%, 5%)
CMYKcmyk(47%, 20%, 0%, 94%)
LABlab(3.1 -0.6 -1.8)
LCHlch(3.1 1.8 252.0)
OKLCHoklch(0.151 0.009 239.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080c0f on white: 19.63:1
AA ✓ pass · AA-large · AAA
Aa
#080c0f on black: 1.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green4.7%
Blue5.9%

CMYK percentages

Cyan46.7%
Magenta20.0%
Yellow0.0%
Key (black)94.1%

Color previews

#080c0f text on a black background

contrast 1.07:1

Card sample

#080c0f text on a white background

contrast 19.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #080c0f;
Background color
Panel with #080c0f background
background-color: #080c0f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #080c0f;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #080c0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080c0f in the Color Lab