#31405E color

#31405E rgb(49, 64, 94)
Shades of blue

The hex color #31405E is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 25.1% green and 36.9% blue (49, 64, 94).

Its hue angle is 220°, with 31% saturation and 28% lightness. For print, the CMYK equivalent is 48% cyan, 32% magenta, 0% yellow and 63% black.

The closest named color is Nautilus (#273C5A), a difference of 2.4 ΔE, a small difference.

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

#31405E color codes

HEX#31405E
RGBrgb(49, 64, 94)
RGB percentrgb(19.2%, 25.1%, 36.9%)
HSLhsl(220, 31%, 28%)
HSV / HSBhsv(220, 48%, 37%)
CMYKcmyk(48%, 32%, 0%, 63%)
CIE LABlab(27.1, 3.08, -19.71)
CIE LCHlch(27.1, 19.94, 278.87)
CIE XYZxyz(5.12, 5.128, 11.307)
Decimal3227742
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31405E, 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 #31405ERatioAAAAAAA large
Sample text2.03:1FailFailFail
Sample text10.37:1PassPassPass
#31405E as text onRatioAAAAAAA large
Sample text10.37:1PassPassPass
Sample text2.03: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 #31405E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31405e; }
.text { color: #31405e; }
.border { border: 2px solid #31405e; }
.transparent { background-color: rgb(49 64 94 / 50%); }
.gradient { background: linear-gradient(to right, #31405e, #39315e); }
Background
Text color
Border

Similar colors

Closest common color name: Prussian Blue.

Questions

What color is #31405E?
#31405E is a dark, desaturated blue, closest to the named color Nautilus. It belongs to the blue family of colors.
What is the RGB value of #31405E?
The RGB value is 49, 64, 94: 49 red, 64 green and 94 blue on a 0 to 255 scale.
What is the complementary color of #31405E?
The complementary color is #5E4F31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31405E?
White text. Black text has a contrast ratio of 2.03:1 and white text 10.37:1. WCAG asks for at least 4.5:1 for normal text.