#31396F color

#31396F rgb(49, 57, 111)
Shades of blue

The hex color #31396F is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 22.4% green and 43.5% blue (49, 57, 111).

Its hue angle is 232°, with 39% saturation and 31% lightness. For print, the CMYK equivalent is 56% cyan, 49% magenta, 0% yellow and 56% black.

The closest named color is Good Karma (#333C76), a difference of 1.4 ΔE, which is barely visible.

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

#31396F color codes

HEX#31396F
RGBrgb(49, 57, 111)
RGB percentrgb(19.2%, 22.4%, 43.5%)
HSLhsl(232, 39%, 31%)
HSV / HSBhsv(232, 56%, 44%)
CMYKcmyk(56%, 49%, 0%, 56%)
CIE LABlab(25.94, 13.76, -32.46)
CIE LCHlch(25.94, 35.25, 292.97)
CIE XYZxyz(5.598, 4.727, 15.653)
Decimal3225967
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31396F, 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 #31396FRatioAAAAAAA large
Sample text1.95:1FailFailFail
Sample text10.79:1PassPassPass
#31396F as text onRatioAAAAAAA large
Sample text10.79:1PassPassPass
Sample text1.95: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 #31396F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31396f; }
.text { color: #31396f; }
.border { border: 2px solid #31396f; }
.transparent { background-color: rgb(49 57 111 / 50%); }
.gradient { background: linear-gradient(to right, #31396f, #48316f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #31396F?
#31396F is a dark, desaturated blue, closest to the named color Good Karma. It belongs to the blue family of colors.
What is the RGB value of #31396F?
The RGB value is 49, 57, 111: 49 red, 57 green and 111 blue on a 0 to 255 scale.
What is the complementary color of #31396F?
The complementary color is #6F6731, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31396F?
White text. Black text has a contrast ratio of 1.95:1 and white text 10.79:1. WCAG asks for at least 4.5:1 for normal text.