Skip to content

#003021

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

RGB
0, 48, 33
HSL
161°, 100%, 9%
CMYK
100, 0, 31, 81
Luminance
0.0222

Every format

HEX#003021
RGBrgb(0, 48, 33)
HSLhsl(161, 100%, 9%)
CMYKcmyk(100%, 0%, 31%, 81%)
LABlab(16.6 -20.1 5.3)
LCHlch(16.6 20.8 165.2)
OKLCHoklch(0.274 0.057 166.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#003021 on white: 14.54:1
AA ✓ pass · AA-large · AAA
Aa
#003021 on black: 1.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green18.8%
Blue12.9%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow31.3%
Key (black)81.2%

Color previews

#003021 text on a black background

contrast 1.44:1

Card sample

#003021 text on a white background

contrast 14.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 48, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 48, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #003021;
background: linear-gradient(135deg, #003021, #001F30);

Monochromatic scale

Palettes built from #003021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #003021 in the Color Lab