#313F5A color

#313F5A rgb(49, 63, 90)
Shades of blue

The hex color #313F5A is a dark, desaturated azure.

In the RGB color model it is made of 19.2% red, 24.7% green and 35.3% blue (49, 63, 90).

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

The closest named color is Pi (#314159), a difference of 1.9 ΔE, which is barely visible.

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

#313F5A color codes

HEX#313F5A
RGBrgb(49, 63, 90)
RGB percentrgb(19.2%, 24.7%, 35.3%)
HSLhsl(220, 29%, 27%)
HSV / HSBhsv(220, 46%, 35%)
CMYKcmyk(46%, 30%, 0%, 65%)
CIE LABlab(26.58, 2.42, -17.91)
CIE LCHlch(26.58, 18.08, 277.68)
CIE XYZxyz(4.889, 4.946, 10.368)
Decimal3227482
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #313f5a; }
.text { color: #313f5a; }
.border { border: 2px solid #313f5a; }
.transparent { background-color: rgb(49 63 90 / 50%); }
.gradient { background: linear-gradient(to right, #313f5a, #38315a); }
Background
Text color
Border

Similar colors

Closest common color name: Prussian Blue.

Questions

What color is #313F5A?
#313F5A is a dark, desaturated azure, closest to the named color Pi. It belongs to the blue family of colors.
What is the RGB value of #313F5A?
The RGB value is 49, 63, 90: 49 red, 63 green and 90 blue on a 0 to 255 scale.
What is the complementary color of #313F5A?
The complementary color is #5A4C31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313F5A?
White text. Black text has a contrast ratio of 1.99:1 and white text 10.56:1. WCAG asks for at least 4.5:1 for normal text.