Skip to content

#080f28

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

RGB
8, 15, 40
HSL
227°, 67%, 9%
CMYK
80, 63, 0, 84
Luminance
0.0055

Every format

HEX#080f28
RGBrgb(8, 15, 40)
HSLhsl(227, 67%, 9%)
CMYKcmyk(80%, 63%, 0%, 84%)
LABlab(4.9 5.5 -17.4)
LCHlch(4.9 18.2 287.6)
OKLCHoklch(0.179 0.052 268.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080f28 on white: 18.93:1
AA ✓ pass · AA-large · AAA
Aa
#080f28 on black: 1.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green5.9%
Blue15.7%

CMYK percentages

Cyan80.0%
Magenta62.5%
Yellow0.0%
Key (black)84.3%

Color previews

#080f28 text on a black background

contrast 1.11:1

Card sample

#080f28 text on a white background

contrast 18.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080f28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080f28 in the Color Lab