#31385A color

#31385A rgb(49, 56, 90)
Shades of blue

The hex color #31385A is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 22% green and 35.3% blue (49, 56, 90).

Its hue angle is 230°, with 29% saturation and 27% lightness. For print, the CMYK equivalent is 46% cyan, 38% magenta, 0% yellow and 65% black.

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

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

#31385A color codes

HEX#31385A
RGBrgb(49, 56, 90)
RGB percentrgb(19.2%, 22%, 35.3%)
HSLhsl(230, 29%, 27%)
HSV / HSBhsv(230, 46%, 35%)
CMYKcmyk(46%, 38%, 0%, 65%)
CIE LABlab(24.38, 7.16, -21.34)
CIE LCHlch(24.38, 22.51, 288.54)
CIE XYZxyz(4.526, 4.219, 10.247)
Decimal3225690
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31385A, 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 #31385ARatioAAAAAAA large
Sample text1.84:1FailFailFail
Sample text11.39:1PassPassPass
#31385A as text onRatioAAAAAAA large
Sample text11.39:1PassPassPass
Sample text1.84: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 #31385A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31385a; }
.text { color: #31385a; }
.border { border: 2px solid #31385a; }
.transparent { background-color: rgb(49 56 90 / 50%); }
.gradient { background: linear-gradient(to right, #31385a, #3f315a); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #31385A?
#31385A 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 #31385A?
The RGB value is 49, 56, 90: 49 red, 56 green and 90 blue on a 0 to 255 scale.
What is the complementary color of #31385A?
The complementary color is #5A5331, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31385A?
White text. Black text has a contrast ratio of 1.84:1 and white text 11.39:1. WCAG asks for at least 4.5:1 for normal text.