#2D255E color

#2D255E rgb(45, 37, 94)
Shades of blue

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

In the RGB color model it is made of 17.6% red, 14.5% green and 36.9% blue (45, 37, 94).

Its hue angle is 248°, with 44% saturation and 26% lightness. For print, the CMYK equivalent is 52% cyan, 61% magenta, 0% yellow and 63% black.

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

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

#2D255E color codes

HEX#2D255E
RGBrgb(45, 37, 94)
RGB percentrgb(17.6%, 14.5%, 36.9%)
HSLhsl(248, 44%, 26%)
HSV / HSBhsv(248, 61%, 37%)
CMYKcmyk(52%, 61%, 0%, 63%)
CIE LABlab(18.75, 20.62, -32.97)
CIE LCHlch(18.75, 38.89, 302.03)
CIE XYZxyz(3.764, 2.689, 10.908)
Decimal2958686
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #2d255e; }
.text { color: #2d255e; }
.border { border: 2px solid #2d255e; }
.transparent { background-color: rgb(45 37 94 / 50%); }
.gradient { background: linear-gradient(to right, #2d255e, #4a255e); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #2D255E?
#2D255E 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 #2D255E?
The RGB value is 45, 37, 94: 45 red, 37 green and 94 blue on a 0 to 255 scale.
What is the complementary color of #2D255E?
The complementary color is #565E25, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2D255E?
White text. Black text has a contrast ratio of 1.54:1 and white text 13.66:1. WCAG asks for at least 4.5:1 for normal text.