#31308E color

#31308E rgb(49, 48, 142)
Shades of blue

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

In the RGB color model it is made of 19.2% red, 18.8% green and 55.7% blue (49, 48, 142).

Its hue angle is 241°, with 49% saturation and 37% lightness. For print, the CMYK equivalent is 65% cyan, 66% magenta, 0% yellow and 44% black.

The closest named color is Perfect Dark (#313390), a difference of 0.9 ΔE, which is barely visible.

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

#31308E color codes

HEX#31308E
RGBrgb(49, 48, 142)
RGB percentrgb(19.2%, 18.8%, 55.7%)
HSLhsl(241, 49%, 37%)
HSV / HSBhsv(241, 66%, 56%)
CMYKcmyk(65%, 66%, 0%, 44%)
CIE LABlab(25.92, 30.92, -51.99)
CIE LCHlch(25.92, 60.49, 300.74)
CIE XYZxyz(7.204, 4.719, 26.117)
Decimal3223694
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #31308e; }
.text { color: #31308e; }
.border { border: 2px solid #31308e; }
.transparent { background-color: rgb(49 48 142 / 50%); }
.gradient { background: linear-gradient(to right, #31308e, #60308e); }
Background
Text color
Border

Similar colors

Closest common color name: Egyptian Blue.

Questions

What color is #31308E?
#31308E is a dark, desaturated blue, closest to the named color Perfect Dark. It belongs to the blue family of colors.
What is the RGB value of #31308E?
The RGB value is 49, 48, 142: 49 red, 48 green and 142 blue on a 0 to 255 scale.
What is the complementary color of #31308E?
The complementary color is #8D8E30, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31308E?
White text. Black text has a contrast ratio of 1.94:1 and white text 10.8:1. WCAG asks for at least 4.5:1 for normal text.