Skip to content

#050708

a deep, soft blue · cool · “black”

RGB
5, 7, 8
HSL
200°, 23%, 3%
CMYK
38, 13, 0, 97
Luminance
0.0020

Every format

HEX#050708
RGBrgb(5, 7, 8)
HSLhsl(200, 23%, 3%)
CMYKcmyk(38%, 13%, 0%, 97%)
LABlab(1.8 -0.4 -0.6)
LCHlch(1.8 0.7 235.8)
OKLCHoklch(0.126 0.005 226.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#050708 on white: 20.19:1
AA ✓ pass · AA-large · AAA
Aa
#050708 on black: 1.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red2.0%
Green2.7%
Blue3.1%

CMYK percentages

Cyan37.5%
Magenta12.5%
Yellow0.0%
Key (black)96.9%

Color previews

#050708 text on a black background

contrast 1.04:1

Card sample

#050708 text on a white background

contrast 20.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #050708

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #050708 in the Color Lab