#312E7A color

#312E7A rgb(49, 46, 122)
Shades of blue

The hex color #312E7A is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 18% green and 47.8% blue (49, 46, 122).

Its hue angle is 242°, with 45% saturation and 33% lightness. For print, the CMYK equivalent is 60% cyan, 62% magenta, 0% yellow and 52% black.

The closest named color is Intergalactic Highway (#273287), a difference of 3.1 ΔE, a small difference.

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

#312E7A color codes

HEX#312E7A
RGBrgb(49, 46, 122)
RGB percentrgb(19.2%, 18%, 47.8%)
HSLhsl(242, 45%, 33%)
HSV / HSBhsv(242, 62%, 48%)
CMYKcmyk(60%, 62%, 0%, 52%)
CIE LABlab(23.71, 25.18, -43.06)
CIE LCHlch(23.71, 49.88, 300.32)
CIE XYZxyz(5.755, 4.012, 18.88)
Decimal3223162
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #312E7A, 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 #312E7ARatioAAAAAAA large
Sample text1.8:1FailFailFail
Sample text11.65:1PassPassPass
#312E7A as text onRatioAAAAAAA large
Sample text11.65:1PassPassPass
Sample text1.8: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 #312E7A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #312e7a; }
.text { color: #312e7a; }
.border { border: 2px solid #312e7a; }
.transparent { background-color: rgb(49 46 122 / 50%); }
.gradient { background: linear-gradient(to right, #312e7a, #572e7a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #312E7A?
#312E7A is a dark, desaturated blue, closest to the named color Intergalactic Highway. It belongs to the blue family of colors.
What is the RGB value of #312E7A?
The RGB value is 49, 46, 122: 49 red, 46 green and 122 blue on a 0 to 255 scale.
What is the complementary color of #312E7A?
The complementary color is #777A2E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312E7A?
White text. Black text has a contrast ratio of 1.8:1 and white text 11.65:1. WCAG asks for at least 4.5:1 for normal text.