Skip to content

#020f13

a deep, electric cyan · cool · closest name: black

RGB
2, 15, 19
HSL
194°, 81%, 4%
CMYK
90, 21, 0, 93
Luminance
0.0040

Every format

HEX#020f13
RGBrgb(2, 15, 19)
HSLhsl(194, 81%, 4%)
CMYKcmyk(90%, 21%, 0%, 93%)
LABlab(3.6 -2.8 -3.4)
LCHlch(3.6 4.4 230.8)
OKLCHoklch(0.157 0.023 216.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#020f13 on white: 19.44:1
AA ✓ pass · AA-large · AAA
Aa
#020f13 on black: 1.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.8%
Green5.9%
Blue7.5%

CMYK percentages

Cyan89.5%
Magenta21.1%
Yellow0.0%
Key (black)92.5%

Color previews

#020f13 text on a black background

contrast 1.08:1

Card sample

#020f13 text on a white background

contrast 19.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(2, 15, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 15, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #020f13;
background: linear-gradient(135deg, #020f13, #020413);

Monochromatic scale

Palettes built from #020f13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #020f13 in the Color Lab