#2A2A4A

Closest named color: Dark Slate Gray

Color Values for #2A2A4A

Click any value to copy it to your clipboard.

HEX
#2A2A4A
RGB
rgb(42, 42, 74)
HSL
hsl(240, 28%, 23%)
CMYK
cmyk(43%, 43%, 0%, 71%)
CSS rgba()
rgba(42, 42, 74, 1)
CSS hsla()
hsla(240, 28%, 23%, 1)

Shades of #2A2A4A

Mixed with increasing amounts of black. Click any swatch to copy its HEX code.

#2A2A4A
#262643
#22223B
#1D1D34
#19192C
#151525
#11111E
#0D0D16
#08080F
#040407

Tints of #2A2A4A

Mixed with increasing amounts of white. Click any swatch to copy its HEX code.

#2A2A4A
#3F3F5C
#55556E
#6A6A80
#7F7F92
#9595A5
#AAAAB7
#BFBFC9
#D4D4DB
#EAEAED

Color Harmonies for #2A2A4A

Colors that pair well with #2A2A4A based on color theory. Click any chip to copy.

Complementary
#2A2A4A#4B4B2A
Analogous
#2A3B4B#2A2A4A#3B2A4B
Triadic
#2A2A4A#4B2A2A#2A4B2A
Split-Complementary
#2A2A4A#4B3B2A#3B4B2A
Tetradic
#2A2A4A#4B2A3B#4B4B2A#2A4B3B

When to Use #2A2A4A

Common design contexts where this color works well.

professionalismcorporate design
White text on #2A2A4A
Black text on #2A2A4A
#2A2A4A on white
#2A2A4A on black

How to Use This Color Page

Everything on this page is interactive — here's what each section does.

1

Copy any color format in one click

The six cards at the top show #2A2A4A in every format — HEX, RGB, HSL, CMYK, rgba(), and hsla(). Click any card to copy that value straight to your clipboard. Paste directly into Figma, CSS, Tailwind, Canva, Photoshop, or any tool that accepts color codes.

2

Explore shades and tints

The shades strip mixes #2A2A4A with increasing amounts of black — useful for hover states, borders, and dark backgrounds. The tints strip mixes it with white — useful for backgrounds, disabled states, and light surfaces. Click any swatch to copy its HEX code.

3

Find harmonious color pairings

The harmonies section shows five color relationships derived from #2A2A4A's position on the color wheel — complementary (opposite hue), analogous (adjacent hues), triadic (three evenly spaced hues), split-complementary, and tetradic (four hues). Click any HEX chip to copy it.

4

Check contrast before using

The contrast preview shows #2A2A4A with white text, black text, and as text on both white and black backgrounds. Use this to quickly judge readability before committing to a color combination in your design.

5

Look up any other HEX color

Use the lookup form at the bottom to navigate to any other color's info page. Type a 6-digit HEX code and press Go or Enter — you'll land on a page with the same full breakdown for that color.

Common Questions About #2A2A4A

Answers to what people search for most about this color.

What color is #2A2A4A?
#2A2A4A is closest to the color Dark Slate Gray. Its RGB values are 42 red, 42 green, and 74 blue. In HSL it is 240° hue, 28% saturation, and 23% lightness.
What is the RGB value of #2A2A4A?
The RGB value of #2A2A4A is rgb(42, 42, 74). Red: 42/255, Green: 42/255, Blue: 74/255.
What is the HSL value of #2A2A4A?
The HSL value of #2A2A4A is hsl(240, 28%, 23%). Hue: 240°, Saturation: 28%, Lightness: 23%.
What is the CMYK value of #2A2A4A?
The CMYK value of #2A2A4A is cmyk(43%, 43%, 0%, 71%). Use this for print — Cyan: 43%, Magenta: 43%, Yellow: 0%, Black: 71%.
What is the complementary color of #2A2A4A?
The complementary color of #2A2A4A is #4B4B2A, sitting directly opposite on the color wheel at 60° hue.
How do I use #2A2A4A in CSS?
Use it as: color: #2A2A4A; or background-color: #2A2A4A; or with RGB: color: rgb(42, 42, 74); or HSL: color: hsl(240, 28%, 23%);
What are the shades of #2A2A4A?
Shades of #2A2A4A are created by mixing it with black. The darkest shade on this page is #040407 (90% black) and the lightest shade is #262643 (10% black). Use shades for hover states, pressed states, borders, and dark backgrounds.
What are the tints of #2A2A4A?
Tints of #2A2A4A are created by mixing it with white. The lightest tint on this page is #EAEAED (90% white) and the darkest tint is #3F3F5C (10% white). Use tints for backgrounds, disabled states, and light UI surfaces.
What colors go well with #2A2A4A?
Colors that pair well with #2A2A4A include its complementary color #4B4B2A, its analogous neighbors #2A3B4B and #3B2A4B, and its triadic partners #4B2A2A and #2A4B2A.
Is #2A2A4A a light or dark color?
#2A2A4A has a lightness of 23% in HSL. At 23% lightness it is a dark color — white text will have better contrast against it than black text.
What design tools accept #2A2A4A?
You can use #2A2A4A in Figma, Adobe Photoshop, Illustrator, XD, Canva, Sketch, Framer, CSS, Tailwind CSS, and virtually every design or development tool. Copy the HEX code from this page and paste it directly into the color picker — no conversion needed.

Look Up Another Color

Enter any HEX code to see its full color info page.

#
Copied!