#313159 color

#313159 rgb(49, 49, 89)
Shades of blue

The hex color #313159 is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 19.2% green and 34.9% blue (49, 49, 89).

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

The closest named color is Deep Sea Base (#2C2C57), a difference of 1.8 ΔE, which is barely visible.

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

#313159 color codes

HEX#313159
RGBrgb(49, 49, 89)
RGB percentrgb(19.2%, 19.2%, 34.9%)
HSLhsl(240, 29%, 27%)
HSV / HSBhsv(240, 45%, 35%)
CMYKcmyk(45%, 45%, 0%, 65%)
CIE LABlab(22.2, 11.67, -24.13)
CIE LCHlch(22.2, 26.8, 295.8)
CIE XYZxyz(4.168, 3.571, 9.919)
Decimal3223897
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #313159, 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 #313159RatioAAAAAAA large
Sample text1.71:1FailFailFail
Sample text12.25:1PassPassPass
#313159 as text onRatioAAAAAAA large
Sample text12.25:1PassPassPass
Sample text1.71: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 #313159 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #313159; }
.text { color: #313159; }
.border { border: 2px solid #313159; }
.transparent { background-color: rgb(49 49 89 / 50%); }
.gradient { background: linear-gradient(to right, #313159, #453159); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #313159?
#313159 is a dark, desaturated blue, closest to the named color Deep Sea Base. It belongs to the blue family of colors.
What is the RGB value of #313159?
The RGB value is 49, 49, 89: 49 red, 49 green and 89 blue on a 0 to 255 scale.
What is the complementary color of #313159?
The complementary color is #595931, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313159?
White text. Black text has a contrast ratio of 1.71:1 and white text 12.25:1. WCAG asks for at least 4.5:1 for normal text.