#002152 Color Information

Hex color code: #002152

#002152 is a dark blue color. In RGB it is (0, 33, 82), and in HSL it is (216°, 100%, 16%). It is frequently seen in web interfaces.

Try:
Color NameNavy
HEX
#002152
RGB
0, 33, 82
HSL
216°, 100%, 16%
CMYK
100%, 60%, 0%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #002152; 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 #002152; background-color: #00215215; }

Alert / Toast

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

Link / Accent

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

a { color: #002152; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

0, 33, 82

Red: 0 / Green: 33 / Blue: 82

HSL

216°, 100%, 16%

Hue: 216° / Saturation: 100% / Lightness: 16%

CMYK

100%, 60%, 0%, 68%

Cyan: 100% / Magenta: 60% / Yellow: 0% / Key: 68%

What color is #002152?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #002152 to RGB:

rgb(0, 33, 82)HEX to RGB Converter →

HEX to HSL

Convert #002152 to HSL:

hsl(216, 100%, 16%)RGB to HSL Converter →

HEX to CMYK

Convert #002152 to CMYK:

cmyk(100%, 60%, 0%, 68%)Color Converter →

Color Meaning and Usage

#002152 is a dramatic blue color with RGB values of 0, 33, 82 and HSL of 216°, 100%, 16%. This very dark shade evokes sophistication and elegance, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #002152 is #523100, creating high-contrast pairings. For softer combinations, try analogous colors like #004952.

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

Contrast with #002152

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #002152?

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

What is the RGB value of #002152?

#002152 in RGB is (0, 33, 82) - 0 red, 33 green, and 82 blue.

How to use #002152 in CSS?

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

What colors go well with #002152?

#523100 (complementary), #004952 (analogous), and #000205 (lighter shade) work well with #002152.