#313B54 color

#313B54 rgb(49, 59, 84)
Shades of blue

The hex color #313B54 is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 23.1% green and 32.9% blue (49, 59, 84).

Its hue angle is 223°, with 26% saturation and 26% lightness. For print, the CMYK equivalent is 42% cyan, 30% magenta, 0% yellow and 67% black.

The closest named color is Mediaeval Blue (#2E3858), a difference of 2.8 ΔE, a small difference.

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

#313B54 color codes

HEX#313B54
RGBrgb(49, 59, 84)
RGB percentrgb(19.2%, 23.1%, 32.9%)
HSLhsl(223, 26%, 26%)
HSV / HSBhsv(223, 42%, 33%)
CMYKcmyk(42%, 30%, 0%, 67%)
CIE LABlab(25.02, 3.15, -16.42)
CIE LCHlch(25.02, 16.72, 280.85)
CIE XYZxyz(4.43, 4.421, 9.006)
Decimal3226452
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #313B54, 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 #313B54RatioAAAAAAA large
Sample text1.88:1FailFailFail
Sample text11.15:1PassPassPass
#313B54 as text onRatioAAAAAAA large
Sample text11.15:1PassPassPass
Sample text1.88: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 #313B54 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #313b54; }
.text { color: #313b54; }
.border { border: 2px solid #313b54; }
.transparent { background-color: rgb(49 59 84 / 50%); }
.gradient { background: linear-gradient(to right, #313b54, #393154); }
Background
Text color
Border

Similar colors

Closest common color name: Prussian Blue.

Questions

What color is #313B54?
#313B54 is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
What is the RGB value of #313B54?
The RGB value is 49, 59, 84: 49 red, 59 green and 84 blue on a 0 to 255 scale.
What is the complementary color of #313B54?
The complementary color is #544A31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313B54?
White text. Black text has a contrast ratio of 1.88:1 and white text 11.15:1. WCAG asks for at least 4.5:1 for normal text.