Skip to content

#00001f

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

RGB
0, 0, 31
HSL
240°, 100%, 6%
CMYK
100, 100, 0, 88
Luminance
0.0010

Every format

HEX#00001f
RGBrgb(0, 0, 31)
HSLhsl(240, 100%, 6%)
CMYKcmyk(100%, 100%, 0%, 88%)
LABlab(0.9 6.3 -16.6)
LCHlch(0.9 17.8 290.7)
OKLCHoklch(0.108 0.075 264.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#00001f on white: 20.59:1
AA ✓ pass · AA-large · AAA
Aa
#00001f on black: 1.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green0.0%
Blue12.2%

CMYK percentages

Cyan100.0%
Magenta100.0%
Yellow0.0%
Key (black)87.8%

Color previews

#00001f text on a black background

contrast 1.02:1

Card sample

#00001f text on a white background

contrast 20.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 0, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 0, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #00001f;
background: linear-gradient(135deg, #00001f, #15001F);

Monochromatic scale

Palettes built from #00001f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #00001f in the Color Lab