#312D55 color

#312D55 rgb(49, 45, 85)
Shades of blue

The hex color #312D55 is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 17.6% green and 33.3% blue (49, 45, 85).

Its hue angle is 246°, with 31% saturation and 25% lightness. For print, the CMYK equivalent is 42% cyan, 47% magenta, 0% yellow and 67% black.

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

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

#312D55 color codes

HEX#312D55
RGBrgb(49, 45, 85)
RGB percentrgb(19.2%, 17.6%, 33.3%)
HSLhsl(246, 31%, 25%)
HSV / HSBhsv(246, 47%, 33%)
CMYKcmyk(42%, 47%, 0%, 67%)
CIE LABlab(20.77, 13.13, -23.74)
CIE LCHlch(20.77, 27.13, 298.95)
CIE XYZxyz(3.844, 3.185, 9.005)
Decimal3222869
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #312D55, 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 #312D55RatioAAAAAAA large
Sample text1.64:1FailFailFail
Sample text12.83:1PassPassPass
#312D55 as text onRatioAAAAAAA large
Sample text12.83:1PassPassPass
Sample text1.64: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 #312D55 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #312d55; }
.text { color: #312d55; }
.border { border: 2px solid #312d55; }
.transparent { background-color: rgb(49 45 85 / 50%); }
.gradient { background: linear-gradient(to right, #312d55, #452d55); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #312D55?
#312D55 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 #312D55?
The RGB value is 49, 45, 85: 49 red, 45 green and 85 blue on a 0 to 255 scale.
What is the complementary color of #312D55?
The complementary color is #51552D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312D55?
White text. Black text has a contrast ratio of 1.64:1 and white text 12.83:1. WCAG asks for at least 4.5:1 for normal text.