#2D4872 color

#2D4872 rgb(45, 72, 114)
Shades of blue

The hex color #2D4872 is a dark, desaturated azure.

In the RGB color model it is made of 17.6% red, 28.2% green and 44.7% blue (45, 72, 114).

Its hue angle is 217°, with 43% saturation and 31% lightness. For print, the CMYK equivalent is 61% cyan, 37% magenta, 0% yellow and 55% black.

The closest named color is Dragonfly (#314A76), a difference of 1 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 9.2:1).

#2D4872 color codes

HEX#2D4872
RGBrgb(45, 72, 114)
RGB percentrgb(17.6%, 28.2%, 44.7%)
HSLhsl(217, 43%, 31%)
HSV / HSBhsv(217, 61%, 45%)
CMYKcmyk(61%, 37%, 0%, 55%)
CIE LABlab(30.42, 3.72, -27.27)
CIE LCHlch(30.42, 27.52, 277.77)
CIE XYZxyz(6.436, 6.407, 16.814)
Decimal2967666
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2D4872, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #2D4872RatioAAAAAAA large
Sample text2.28:1FailFailFail
Sample text9.2:1PassPassPass
#2D4872 as text onRatioAAAAAAA large
Sample text9.2:1PassPassPass
Sample text2.28:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #2D4872 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2d4872; }
.text { color: #2d4872; }
.border { border: 2px solid #2d4872; }
.transparent { background-color: rgb(45 72 114 / 50%); }
.gradient { background: linear-gradient(to right, #2d4872, #342d72); }
Background
Text color
Border

Similar colors

Closest common color name: Prussian Blue.

Questions

What color is #2D4872?
#2D4872 is a dark, desaturated azure, closest to the named color Dragonfly. It belongs to the blue family of colors.
What is the RGB value of #2D4872?
The RGB value is 45, 72, 114: 45 red, 72 green and 114 blue on a 0 to 255 scale.
What is the complementary color of #2D4872?
The complementary color is #72572D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2D4872?
White text. Black text has a contrast ratio of 2.28:1 and white text 9.2:1. WCAG asks for at least 4.5:1 for normal text.