#313D5D color

#313D5D rgb(49, 61, 93)
Shades of blue

The hex color #313D5D is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 23.9% green and 36.5% blue (49, 61, 93).

Its hue angle is 224°, with 31% saturation and 28% lightness. For print, the CMYK equivalent is 47% cyan, 34% magenta, 0% yellow and 64% black.

The closest named color is Mediaeval Blue (#2E3858), a difference of 1.7 ΔE, which is barely visible.

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

#313D5D color codes

HEX#313D5D
RGBrgb(49, 61, 93)
RGB percentrgb(19.2%, 23.9%, 36.5%)
HSLhsl(224, 31%, 28%)
HSV / HSBhsv(224, 47%, 36%)
CMYKcmyk(47%, 34%, 0%, 64%)
CIE LABlab(26.1, 4.76, -20.61)
CIE LCHlch(26.1, 21.15, 283)
CIE XYZxyz(4.911, 4.78, 11.018)
Decimal3226973
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #313D5D, 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 #313D5DRatioAAAAAAA large
Sample text1.96:1FailFailFail
Sample text10.74:1PassPassPass
#313D5D as text onRatioAAAAAAA large
Sample text10.74:1PassPassPass
Sample text1.96: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 #313D5D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #313d5d; }
.text { color: #313d5d; }
.border { border: 2px solid #313d5d; }
.transparent { background-color: rgb(49 61 93 / 50%); }
.gradient { background: linear-gradient(to right, #313d5d, #3b315d); }
Background
Text color
Border

Similar colors

Closest common color name: Prussian Blue.

Questions

What color is #313D5D?
#313D5D is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
What is the RGB value of #313D5D?
The RGB value is 49, 61, 93: 49 red, 61 green and 93 blue on a 0 to 255 scale.
What is the complementary color of #313D5D?
The complementary color is #5D5131, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313D5D?
White text. Black text has a contrast ratio of 1.96:1 and white text 10.74:1. WCAG asks for at least 4.5:1 for normal text.