Skip to content

#080c2f

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

RGB
8, 12, 47
HSL
234°, 71%, 11%
CMYK
83, 75, 0, 82
Luminance
0.0052

Every format

HEX#080c2f
RGBrgb(8, 12, 47)
HSLhsl(234, 71%, 11%)
CMYKcmyk(83%, 75%, 0%, 82%)
LABlab(4.7 10.3 -23.0)
LCHlch(4.7 25.2 294.0)
OKLCHoklch(0.178 0.069 272.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red3.1%
Green4.7%
Blue18.4%

CMYK percentages

Cyan83.0%
Magenta74.5%
Yellow0.0%
Key (black)81.6%

Color previews

#080c2f text on a black background

contrast 1.10:1

Card sample

#080c2f text on a white background

contrast 19.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080c2f in the Color Lab