hexcolors

#3A5A8C

Closest named color: darkslateblue

About this color

#3A5A8C is a dark blue color. In RGB it is 58, 90, 140, and its closest named color is darkslateblue. Text in white is easiest to read on it, with a contrast ratio of 6.95:1.

What does blue mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #3A5A8C?

Contrast against white and black text.

Aa Sample
6.95:1 with white text
Passes AA for body text
Aa Sample
3.02:1 with black text
Passes AA for large text only

Test your own pair

Make it lighter or darker

Shades keep the same hue. Click one to open the closest color page.

Build a full 50 to 950 scale

Softer versions (tints)

Mixed with white.

Muted versions (tones)

Mixed with gray.

Colors that go with #3A5A8C

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with darkslateblue

How it looks with color blindness

Simulated for common types.

Normal
#3A5A8C
Protanopia
#455E8E
Deuteranopia
#3B568B
Tritanopia
#00656C

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #3a5a8c;
background-color: #3a5a8c;
--brand: #3a5a8c;
$brand: #3a5a8c;
bg-[#3a5a8c] text-[#3a5a8c] border-[#3a5a8c]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #3A5A8C?

#3A5A8C is rgb(58, 90, 140).

What is the closest named color to #3A5A8C?

The closest CSS named color is darkslateblue (#483D8B).

What color goes well with #3A5A8C?

Its complementary color is #8C6C3A. Analogous colors at #3A838C and #433A8C also work well.

Should I use white or black text on #3A5A8C?

White text is easier to read, with a contrast ratio of 6.95:1.

Use this color anywhere

Data, embeds and tools.

Get #3A5A8C as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color