#313948 color

#313948 rgb(49, 57, 72)
Shades of gray

The hex color #313948 is a dark, grayish azure.

In the RGB color model it is made of 19.2% red, 22.4% green and 28.2% blue (49, 57, 72).

Its hue angle is 219°, with 19% saturation and 24% lightness. For print, the CMYK equivalent is 32% cyan, 21% magenta, 0% yellow and 72% black.

The closest named color is Total Eclipse (#303543), a difference of 1.8 ΔE, which is barely visible.

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

#313948 color codes

HEX#313948
RGBrgb(49, 57, 72)
RGB percentrgb(19.2%, 22.4%, 28.2%)
HSLhsl(219, 19%, 24%)
HSV / HSBhsv(219, 32%, 28%)
CMYKcmyk(32%, 21%, 0%, 72%)
CIE LABlab(23.83, 0.78, -10.31)
CIE LCHlch(23.83, 10.34, 274.32)
CIE XYZxyz(3.899, 4.047, 6.705)
Decimal3225928
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Charcoal.

Questions

What color is #313948?
#313948 is a dark, grayish azure, closest to the named color Total Eclipse. It belongs to the gray family of colors.
What is the RGB value of #313948?
The RGB value is 49, 57, 72: 49 red, 57 green and 72 blue on a 0 to 255 scale.
What is the complementary color of #313948?
The complementary color is #484031, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313948?
White text. Black text has a contrast ratio of 1.81:1 and white text 11.61:1. WCAG asks for at least 4.5:1 for normal text.