Skip to content

#080055

a deep, electric blue · warm · closest name: midnightblue

RGB
8, 0, 85
HSL
246°, 100%, 17%
CMYK
91, 100, 0, 67
Luminance
0.0071

Every format

HEX#080055
RGBrgb(8, 0, 85)
HSLhsl(246, 100%, 17%)
CMYKcmyk(91%, 100%, 0%, 67%)
LABlab(6.4 35.3 -47.3)
LCHlch(6.4 59.0 306.7)
OKLCHoklch(0.208 0.137 269.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080055 on white: 18.40:1
AA ✓ pass · AA-large · AAA
Aa
#080055 on black: 1.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green0.0%
Blue33.3%

CMYK percentages

Cyan90.6%
Magenta100.0%
Yellow0.0%
Key (black)66.7%

Color previews

#080055 text on a black background

contrast 1.14:1

Card sample

#080055 text on a white background

contrast 18.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080055

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080055 in the Color Lab