#313879 color

#313879 rgb(49, 56, 121)
Shades of blue

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

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

Its hue angle is 234°, with 42% saturation and 33% lightness. For print, the CMYK equivalent is 60% cyan, 54% magenta, 0% yellow and 53% black.

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

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

#313879 color codes

HEX#313879
RGBrgb(49, 56, 121)
RGB percentrgb(19.2%, 22%, 47.5%)
HSLhsl(234, 42%, 33%)
HSV / HSBhsv(234, 60%, 47%)
CMYKcmyk(60%, 54%, 0%, 53%)
CIE LABlab(26.34, 18.04, -38.18)
CIE LCHlch(26.34, 42.23, 295.29)
CIE XYZxyz(6.131, 4.861, 18.701)
Decimal3225721
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #313879; }
.text { color: #313879; }
.border { border: 2px solid #313879; }
.transparent { background-color: rgb(49 56 121 / 50%); }
.gradient { background: linear-gradient(to right, #313879, #4e3179); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

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