hexcolors

#0047AB

Closest named color: teal

About this color

#0047AB is a vivid dark blue color. In RGB it is 0, 71, 171, and its closest named color is teal. Text in white is easiest to read on it, with a contrast ratio of 8.44: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 #0047AB?

Contrast against white and black text.

Aa Sample
8.44:1 with white text
Passes AAA for all text
Aa Sample
2.49:1 with black text
Fails WCAG contrast

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 #0047AB

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with teal

How it looks with color blindness

Simulated for common types.

Normal
#0047AB
Protanopia
#0055AE
Deuteranopia
#0046A9
Tritanopia
#006172

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #0047ab;
background-color: #0047ab;
--brand: #0047ab;
$brand: #0047ab;
bg-[#0047ab] text-[#0047ab] border-[#0047ab]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #0047AB?

#0047AB is rgb(0, 71, 171).

What is the closest named color to #0047AB?

The closest CSS named color is teal (#008080).

What color goes well with #0047AB?

Its complementary color is #AB6400. Analogous colors at #009DAB and #0E00AB also work well.

Should I use white or black text on #0047AB?

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

Use this color anywhere

Data, embeds and tools.

Get #0047AB as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color