#021022 Color Information

Hex color code: #021022

A rich blue shade, #021022 appears as (2, 16, 34) in RGB and (214°, 89%, 7%) in HSL. It is popular in mobile app design.

Try:
Color NameBlack
HEX
#021022
RGB
2, 16, 34
HSL
214°, 89%, 7%
CMYK
94%, 53%, 0%, 87%

Shades

CSS Usage
color: #021022;
background-color: #021022;
border-color: #021022;
box-shadow: 0 0 10px #021022;
border: 2px solid #021022;
Tailwind Usage
bg-[#021022]
text-[#021022]
border-[#021022]
shadow-[0_0_10px_021022]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #021022, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #021022; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #021022; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #021022; background-color: #02102215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #02102220; border-left: 4px solid #021022; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #021022; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #021022 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

2, 16, 34

Red: 2 / Green: 16 / Blue: 34

HSL

214°, 89%, 7%

Hue: 214° / Saturation: 89% / Lightness: 7%

CMYK

94%, 53%, 0%, 87%

Cyan: 94% / Magenta: 53% / Yellow: 0% / Key: 87%

What color is #021022?

#021022 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #021022 to RGB:

rgb(2, 16, 34)HEX to RGB Converter →

HEX to HSL

Convert #021022 to HSL:

hsl(214, 89%, 7%)RGB to HSL Converter →

HEX to CMYK

Convert #021022 to CMYK:

cmyk(94%, 53%, 0%, 87%)Color Converter →

Color Meaning and Usage

A dramatic blue tone, #021022 has RGB (2, 16, 34) and HSL (214°, 89%, 7%). Known for evoking sophistication and elegance, this very dark shade is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #021022 is #221402, creating high-contrast pairings. For softer combinations, try analogous colors like #022022.

Use #021022 in CSS: color: #021022 or background-color: #021022. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #021022

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.10:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #021022?

#021022 is a dramatic blue color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #021022?

#021022 in RGB is (2, 16, 34) - 2 red, 16 green, and 34 blue.

How to use #021022 in CSS?

Use #021022 directly in your CSS properties like color or background-color.

What colors go well with #021022?

#221402 (complementary), #022022 (analogous), and #000000 (lighter shade) work well with #021022.