Skip to content

#080f1c

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

RGB
8, 15, 28
HSL
219°, 56%, 7%
CMYK
71, 46, 0, 89
Luminance
0.0048

Every format

HEX#080f1c
RGBrgb(8, 15, 28)
HSLhsl(219, 56%, 7%)
CMYKcmyk(71%, 46%, 0%, 89%)
LABlab(4.3 1.1 -9.1)
LCHlch(4.3 9.1 277.0)
OKLCHoklch(0.169 0.030 261.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080f1c on white: 19.17:1
AA ✓ pass · AA-large · AAA
Aa
#080f1c on black: 1.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green5.9%
Blue11.0%

CMYK percentages

Cyan71.4%
Magenta46.4%
Yellow0.0%
Key (black)89.0%

Color previews

#080f1c text on a black background

contrast 1.10:1

Card sample

#080f1c text on a white background

contrast 19.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080f1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080f1c in the Color Lab