Skip to content

#050a0f

a deep, vivid blue · cool · closest name: black

RGB
5, 10, 15
HSL
210°, 50%, 4%
CMYK
67, 33, 0, 94
Luminance
0.0028

Every format

HEX#050a0f
RGBrgb(5, 10, 15)
HSLhsl(210, 50%, 4%)
CMYKcmyk(67%, 33%, 0%, 94%)
LABlab(2.6 -0.5 -2.6)
LCHlch(2.6 2.7 259.0)
OKLCHoklch(0.141 0.015 244.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#050a0f on white: 19.87:1
AA ✓ pass · AA-large · AAA
Aa
#050a0f on black: 1.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red2.0%
Green3.9%
Blue5.9%

CMYK percentages

Cyan66.7%
Magenta33.3%
Yellow0.0%
Key (black)94.1%

Color previews

#050a0f text on a black background

contrast 1.06:1

Card sample

#050a0f text on a white background

contrast 19.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(5, 10, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 10, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #050a0f;
background: linear-gradient(135deg, #050a0f, #07050F);

Monochromatic scale

Palettes built from #050a0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #050a0f in the Color Lab