#31518D color

#31518D rgb(49, 81, 141)
Shades of blue

The hex color #31518D is a dark, desaturated azure.

In the RGB color model it is made of 19.2% red, 31.8% green and 55.3% blue (49, 81, 141).

Its hue angle is 219°, with 48% saturation and 37% lightness. For print, the CMYK equivalent is 65% cyan, 43% magenta, 0% yellow and 45% black.

The closest named color is Nightly Activities (#2E5090), a difference of 0.6 ΔE, which is barely visible.

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

#31518D color codes

HEX#31518D
RGBrgb(49, 81, 141)
RGB percentrgb(19.2%, 31.8%, 55.3%)
HSLhsl(219, 48%, 37%)
HSV / HSBhsv(219, 65%, 55%)
CMYKcmyk(65%, 43%, 0%, 45%)
CIE LABlab(34.92, 8.53, -36.84)
CIE LCHlch(34.92, 37.81, 283.03)
CIE XYZxyz(9.015, 8.46, 26.352)
Decimal3232141
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31518D, 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 #31518DRatioAAAAAAA large
Sample text2.69:1FailFailFail
Sample text7.8:1PassPassPass
#31518D as text onRatioAAAAAAA large
Sample text7.8:1PassPassPass
Sample text2.69: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 #31518D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31518d; }
.text { color: #31518d; }
.border { border: 2px solid #31518d; }
.transparent { background-color: rgb(49 81 141 / 50%); }
.gradient { background: linear-gradient(to right, #31518d, #3f318d); }
Background
Text color
Border

Similar colors

Closest common color name: Cobalt Blue.

Questions

What color is #31518D?
#31518D is a dark, desaturated azure, closest to the named color Nightly Activities. It belongs to the blue family of colors.
What is the RGB value of #31518D?
The RGB value is 49, 81, 141: 49 red, 81 green and 141 blue on a 0 to 255 scale.
What is the complementary color of #31518D?
The complementary color is #8D6D31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31518D?
White text. Black text has a contrast ratio of 2.69:1 and white text 7.8:1. WCAG asks for at least 4.5:1 for normal text.