#2A323C Color Information

Hex color code: #2A323C

#2A323C is a dark blue color. In RGB it is (42, 50, 60), and in HSL it is (213°, 18%, 20%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#2A323C
RGB
42, 50, 60
HSL
213°, 18%, 20%
CMYK
30%, 17%, 0%, 76%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #2A323C; 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 #2A323C; background-color: #2A323C15; }

Alert / Toast

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

Link / Accent

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

a { color: #2A323C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2A323C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

42, 50, 60

Red: 42 / Green: 50 / Blue: 60

HSL

213°, 18%, 20%

Hue: 213° / Saturation: 18% / Lightness: 20%

CMYK

30%, 17%, 0%, 76%

Cyan: 30% / Magenta: 17% / Yellow: 0% / Key: 76%

What color is #2A323C?

#2A323C is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2A323C to RGB:

rgb(42, 50, 60)HEX to RGB Converter →

HEX to HSL

Convert #2A323C to HSL:

hsl(213, 18%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #2A323C to CMYK:

cmyk(30%, 17%, 0%, 76%)Color Converter →

Color Meaning and Usage

A intense blue tone, #2A323C has RGB (42, 50, 60) and HSL (213°, 18%, 20%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2A323C is #3C342A, creating high-contrast pairings. For softer combinations, try analogous colors like #2A3B3C.

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

Contrast with #2A323C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2A323C?

#2A323C is a intense blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2A323C?

#2A323C in RGB is (42, 50, 60) - 42 red, 50 green, and 60 blue.

How to use #2A323C in CSS?

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

What colors go well with #2A323C?

#3C342A (complementary), #2A3B3C (analogous), and #0A0D0F (lighter shade) work well with #2A323C.