Skip to content

#080f3b

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

RGB
8, 15, 59
HSL
232°, 76%, 13%
CMYK
86, 75, 0, 77
Luminance
0.0071

Every format

HEX#080f3b
RGBrgb(8, 15, 59)
HSLhsl(232, 76%, 13%)
CMYKcmyk(86%, 75%, 0%, 77%)
LABlab(6.4 15.2 -29.0)
LCHlch(6.4 32.8 297.6)
OKLCHoklch(0.198 0.085 269.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red3.1%
Green5.9%
Blue23.1%

CMYK percentages

Cyan86.4%
Magenta74.6%
Yellow0.0%
Key (black)76.9%

Color previews

#080f3b text on a black background

contrast 1.14:1

Card sample

#080f3b text on a white background

contrast 18.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080f3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #080f3b in the Color Lab