Skip to content

#070f22

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

RGB
7, 15, 34
HSL
222°, 66%, 8%
CMYK
79, 56, 0, 87
Luminance
0.0050

Every format

HEX#070f22
RGBrgb(7, 15, 34)
HSLhsl(222, 66%, 8%)
CMYKcmyk(79%, 56%, 0%, 87%)
LABlab(4.5 2.9 -13.4)
LCHlch(4.5 13.7 282.0)
OKLCHoklch(0.173 0.042 264.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#070f22 on white: 19.08:1
AA ✓ pass · AA-large · AAA
Aa
#070f22 on black: 1.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red2.7%
Green5.9%
Blue13.3%

CMYK percentages

Cyan79.4%
Magenta55.9%
Yellow0.0%
Key (black)86.7%

Color previews

#070f22 text on a black background

contrast 1.10:1

Card sample

#070f22 text on a white background

contrast 19.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #070f22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #070f22 in the Color Lab