#2D276C color

#2D276C rgb(45, 39, 108)
Shades of blue

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

In the RGB color model it is made of 17.6% red, 15.3% green and 42.4% blue (45, 39, 108).

Its hue angle is 245°, with 47% saturation and 29% lightness. For print, the CMYK equivalent is 58% cyan, 64% magenta, 0% yellow and 58% black.

The closest named color is Indie Go (#2E2364), a difference of 1.9 ΔE, which is barely visible.

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

#2D276C color codes

HEX#2D276C
RGBrgb(45, 39, 108)
RGB percentrgb(17.6%, 15.3%, 42.4%)
HSLhsl(245, 47%, 29%)
HSV / HSBhsv(245, 64%, 42%)
CMYKcmyk(58%, 64%, 0%, 58%)
CIE LABlab(20.41, 24.14, -39.47)
CIE LCHlch(20.41, 46.26, 301.45)
CIE XYZxyz(4.514, 3.091, 14.543)
Decimal2959212
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2D276C, 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 #2D276CRatioAAAAAAA large
Sample text1.62:1FailFailFail
Sample text12.98:1PassPassPass
#2D276C as text onRatioAAAAAAA large
Sample text12.98:1PassPassPass
Sample text1.62: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 #2D276C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2d276c; }
.text { color: #2d276c; }
.border { border: 2px solid #2d276c; }
.transparent { background-color: rgb(45 39 108 / 50%); }
.gradient { background: linear-gradient(to right, #2d276c, #50276c); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #2D276C?
#2D276C is a dark, desaturated blue, closest to the named color Indie Go. It belongs to the blue family of colors.
What is the RGB value of #2D276C?
The RGB value is 45, 39, 108: 45 red, 39 green and 108 blue on a 0 to 255 scale.
What is the complementary color of #2D276C?
The complementary color is #666C27, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2D276C?
White text. Black text has a contrast ratio of 1.62:1 and white text 12.98:1. WCAG asks for at least 4.5:1 for normal text.