#31354B color

#31354B rgb(49, 53, 75)
Shades of blue

The hex color #31354B is a dark, grayish blue.

In the RGB color model it is made of 19.2% red, 20.8% green and 29.4% blue (49, 53, 75).

Its hue angle is 231°, with 21% saturation and 24% lightness. For print, the CMYK equivalent is 35% cyan, 29% magenta, 0% yellow and 71% black.

The closest named color is Shuriken (#333344), a difference of 2.6 ΔE, a small difference.

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

#31354B color codes

HEX#31354B
RGBrgb(49, 53, 75)
RGB percentrgb(19.2%, 20.8%, 29.4%)
HSLhsl(231, 21%, 24%)
HSV / HSBhsv(231, 35%, 29%)
CMYKcmyk(35%, 29%, 0%, 71%)
CIE LABlab(22.68, 4.39, -14.08)
CIE LCHlch(22.68, 14.75, 287.33)
CIE XYZxyz(3.809, 3.707, 7.17)
Decimal3224907
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #31354b; }
.text { color: #31354b; }
.border { border: 2px solid #31354b; }
.transparent { background-color: rgb(49 53 75 / 50%); }
.gradient { background: linear-gradient(to right, #31354b, #3a314b); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #31354B?
#31354B is a dark, grayish blue, closest to the named color Shuriken. It belongs to the blue family of colors.
What is the RGB value of #31354B?
The RGB value is 49, 53, 75: 49 red, 53 green and 75 blue on a 0 to 255 scale.
What is the complementary color of #31354B?
The complementary color is #4B4731, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31354B?
White text. Black text has a contrast ratio of 1.74:1 and white text 12.06:1. WCAG asks for at least 4.5:1 for normal text.