#2D284F color

#2D284F rgb(45, 40, 79)
Shades of blue

The hex color #2D284F is a dark, desaturated blue.

In the RGB color model it is made of 17.6% red, 15.7% green and 31% blue (45, 40, 79).

Its hue angle is 248°, with 33% saturation and 23% lightness. For print, the CMYK equivalent is 43% cyan, 49% magenta, 0% yellow and 69% black.

The closest named color is Purple Noir (#322C56), a difference of 1.6 ΔE, which is barely visible.

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

#2D284F color codes

HEX#2D284F
RGBrgb(45, 40, 79)
RGB percentrgb(17.6%, 15.7%, 31%)
HSLhsl(248, 33%, 23%)
HSV / HSBhsv(248, 49%, 31%)
CMYKcmyk(43%, 49%, 0%, 69%)
CIE LABlab(18.54, 13.44, -23.28)
CIE LCHlch(18.54, 26.88, 300)
CIE XYZxyz(3.252, 2.64, 7.734)
Decimal2959439
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2D284F, 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 #2D284FRatioAAAAAAA large
Sample text1.53:1FailFailFail
Sample text13.74:1PassPassPass
#2D284F as text onRatioAAAAAAA large
Sample text13.74:1PassPassPass
Sample text1.53: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 #2D284F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2d284f; }
.text { color: #2d284f; }
.border { border: 2px solid #2d284f; }
.transparent { background-color: rgb(45 40 79 / 50%); }
.gradient { background: linear-gradient(to right, #2d284f, #41284f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #2D284F?
#2D284F is a dark, desaturated blue, closest to the named color Purple Noir. It belongs to the blue family of colors.
What is the RGB value of #2D284F?
The RGB value is 45, 40, 79: 45 red, 40 green and 79 blue on a 0 to 255 scale.
What is the complementary color of #2D284F?
The complementary color is #4A4F28, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2D284F?
White text. Black text has a contrast ratio of 1.53:1 and white text 13.74:1. WCAG asks for at least 4.5:1 for normal text.