Skip to content

#080f20

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

RGB
8, 15, 32
HSL
223°, 60%, 8%
CMYK
75, 53, 0, 88
Luminance
0.0050

Every format

HEX#080f20
RGBrgb(8, 15, 32)
HSLhsl(223, 60%, 8%)
CMYKcmyk(75%, 53%, 0%, 88%)
LABlab(4.5 2.4 -11.9)
LCHlch(4.5 12.1 281.4)
OKLCHoklch(0.172 0.037 265.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red3.1%
Green5.9%
Blue12.5%

CMYK percentages

Cyan75.0%
Magenta53.1%
Yellow0.0%
Key (black)87.5%

Color previews

#080f20 text on a black background

contrast 1.10:1

Card sample

#080f20 text on a white background

contrast 19.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080f20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080f20 in the Color Lab