Skip to content

#080022

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

RGB
8, 0, 34
HSL
254°, 100%, 7%
CMYK
77, 100, 0, 87
Luminance
0.0017

Every format

HEX#080022
RGBrgb(8, 0, 34)
HSLhsl(254, 100%, 7%)
CMYKcmyk(77%, 100%, 0%, 87%)
LABlab(1.5 9.4 -18.0)
LCHlch(1.5 20.3 297.6)
OKLCHoklch(0.129 0.074 287.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080022 on white: 20.32:1
AA ✓ pass · AA-large · AAA
Aa
#080022 on black: 1.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green0.0%
Blue13.3%

CMYK percentages

Cyan76.5%
Magenta100.0%
Yellow0.0%
Key (black)86.7%

Color previews

#080022 text on a black background

contrast 1.03:1

Card sample

#080022 text on a white background

contrast 20.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080022

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080022 in the Color Lab