Skip to content

#080cb1

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

RGB
8, 12, 177
HSL
239°, 91%, 36%
CMYK
96, 93, 0, 31
Luminance
0.0349

Every format

HEX#080cb1
RGBrgb(8, 12, 177)
HSLhsl(239, 91%, 36%)
CMYKcmyk(96%, 93%, 0%, 31%)
LABlab(21.9 57.3 -80.0)
LCHlch(21.9 98.4 305.6)
OKLCHoklch(0.352 0.232 265.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080cb1 on white: 12.37:1
AA ✓ pass · AA-large · AAA
Aa
#080cb1 on black: 1.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green4.7%
Blue69.4%

CMYK percentages

Cyan95.5%
Magenta93.2%
Yellow0.0%
Key (black)30.6%

Color previews

#080cb1 text on a black background

contrast 1.70:1

Card sample

#080cb1 text on a white background

contrast 12.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080cb1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080cb1 in the Color Lab