Skip to content

#080d1f

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

RGB
8, 13, 31
HSL
227°, 59%, 8%
CMYK
74, 58, 0, 88
Luminance
0.0044

Every format

HEX#080d1f
RGBrgb(8, 13, 31)
HSLhsl(227, 59%, 8%)
CMYKcmyk(74%, 58%, 0%, 88%)
LABlab(4.0 3.1 -11.9)
LCHlch(4.0 12.3 284.4)
OKLCHoklch(0.165 0.039 269.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080d1f on white: 19.31:1
AA ✓ pass · AA-large · AAA
Aa
#080d1f on black: 1.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green5.1%
Blue12.2%

CMYK percentages

Cyan74.2%
Magenta58.1%
Yellow0.0%
Key (black)87.8%

Color previews

#080d1f text on a black background

contrast 1.09:1

Card sample

#080d1f text on a white background

contrast 19.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080d1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080d1f in the Color Lab