Skip to content

#080f18

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

RGB
8, 15, 24
HSL
214°, 50%, 6%
CMYK
67, 38, 0, 91
Luminance
0.0046

Every format

HEX#080f18
RGBrgb(8, 15, 24)
HSLhsl(214, 50%, 6%)
CMYKcmyk(67%, 38%, 0%, 91%)
LABlab(4.2 -0.0 -6.2)
LCHlch(4.2 6.2 269.7)
OKLCHoklch(0.166 0.022 254.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red3.1%
Green5.9%
Blue9.4%

CMYK percentages

Cyan66.7%
Magenta37.5%
Yellow0.0%
Key (black)90.6%

Color previews

#080f18 text on a black background

contrast 1.09:1

Card sample

#080f18 text on a white background

contrast 19.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080f18

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080f18 in the Color Lab