#1E40AF

Closest named color: Dark Slate Blue

Color Values for #1E40AF

Click any value to copy it to your clipboard.

HEX
#1E40AF
RGB
rgb(30, 64, 175)
HSL
hsl(226, 71%, 40%)
CMYK
cmyk(83%, 63%, 0%, 31%)
CSS rgba()
rgba(30, 64, 175, 1)
CSS hsla()
hsla(226, 71%, 40%, 1)

Shades of #1E40AF

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

#1E40AF
#1B3A9E
#18338C
#152D7B
#122669
#0F2058
#0C1A46
#091335
#060D23
#030612

Tints of #1E40AF

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

#1E40AF
#3553B7
#4B66BF
#6279C7
#788CCF
#8FA0D7
#A5B3DF
#BCC6E7
#D2D9EF
#E9ECF7

Color Harmonies for #1E40AF

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

Complementary
#1E40AF#AE8D1E
Analogous
#1E88AE#1E40AF#441EAE
Triadic
#1E40AF#AE1E3F#3FAE1E
Split-Complementary
#1E40AF#AE441E#88AE1E
Tetradic
#1E40AF#AE1E88#AE8D1E#1EAE44

When to Use #1E40AF

Common design contexts where this color works well.

professionalismcorporate design
White text on #1E40AF
Black text on #1E40AF
#1E40AF on white
#1E40AF 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 #1E40AF 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 #1E40AF 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 #1E40AF'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 #1E40AF 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 #1E40AF

Answers to what people search for most about this color.

What color is #1E40AF?
#1E40AF is closest to the color Dark Slate Blue. Its RGB values are 30 red, 64 green, and 175 blue. In HSL it is 226° hue, 71% saturation, and 40% lightness.
What is the RGB value of #1E40AF?
The RGB value of #1E40AF is rgb(30, 64, 175). Red: 30/255, Green: 64/255, Blue: 175/255.
What is the HSL value of #1E40AF?
The HSL value of #1E40AF is hsl(226, 71%, 40%). Hue: 226°, Saturation: 71%, Lightness: 40%.
What is the CMYK value of #1E40AF?
The CMYK value of #1E40AF is cmyk(83%, 63%, 0%, 31%). Use this for print — Cyan: 83%, Magenta: 63%, Yellow: 0%, Black: 31%.
What is the complementary color of #1E40AF?
The complementary color of #1E40AF is #AE8D1E, sitting directly opposite on the color wheel at 46° hue.
How do I use #1E40AF in CSS?
Use it as: color: #1E40AF; or background-color: #1E40AF; or with RGB: color: rgb(30, 64, 175); or HSL: color: hsl(226, 71%, 40%);
What are the shades of #1E40AF?
Shades of #1E40AF are created by mixing it with black. The darkest shade on this page is #030612 (90% black) and the lightest shade is #1B3A9E (10% black). Use shades for hover states, pressed states, borders, and dark backgrounds.
What are the tints of #1E40AF?
Tints of #1E40AF are created by mixing it with white. The lightest tint on this page is #E9ECF7 (90% white) and the darkest tint is #3553B7 (10% white). Use tints for backgrounds, disabled states, and light UI surfaces.
What colors go well with #1E40AF?
Colors that pair well with #1E40AF include its complementary color #AE8D1E, its analogous neighbors #1E88AE and #441EAE, and its triadic partners #AE1E3F and #3FAE1E.
Is #1E40AF a light or dark color?
#1E40AF has a lightness of 40% in HSL. At 40% lightness it is a mid-tone color — check both white and black text contrast before using it as a background.
What design tools accept #1E40AF?
You can use #1E40AF 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!