Skip to content

#080f8b

a dark, electric blue · warm · closest name: navy

RGB
8, 15, 139
HSL
237°, 89%, 29%
CMYK
94, 89, 0, 46
Luminance
0.0226

Every format

HEX#080f8b
RGBrgb(8, 15, 139)
HSLhsl(237, 89%, 29%)
CMYKcmyk(94%, 89%, 0%, 46%)
LABlab(16.8 45.2 -65.3)
LCHlch(16.8 79.4 304.7)
OKLCHoklch(0.302 0.190 266.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080f8b on white: 14.47:1
AA ✓ pass · AA-large · AAA
Aa
#080f8b on black: 1.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green5.9%
Blue54.5%

CMYK percentages

Cyan94.2%
Magenta89.2%
Yellow0.0%
Key (black)45.5%

Color previews

#080f8b text on a black background

contrast 1.45:1

Card sample

#080f8b text on a white background

contrast 14.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080f8b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080f8b in the Color Lab