#31528A color

#31528A rgb(49, 82, 138)
Shades of blue

The hex color #31528A is a dark, desaturated azure.

In the RGB color model it is made of 19.2% red, 32.2% green and 54.1% blue (49, 82, 138).

Its hue angle is 218°, with 48% saturation and 37% lightness. For print, the CMYK equivalent is 64% cyan, 41% magenta, 0% yellow and 46% black.

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

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

#31528A color codes

HEX#31528A
RGBrgb(49, 82, 138)
RGB percentrgb(19.2%, 32.2%, 54.1%)
HSLhsl(218, 48%, 37%)
HSV / HSBhsv(218, 64%, 54%)
CMYKcmyk(64%, 41%, 0%, 46%)
CIE LABlab(35.05, 6.76, -34.81)
CIE LCHlch(35.05, 35.46, 281)
CIE XYZxyz(8.87, 8.522, 25.217)
Decimal3232394
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #31528a; }
.text { color: #31528a; }
.border { border: 2px solid #31528a; }
.transparent { background-color: rgb(49 82 138 / 50%); }
.gradient { background: linear-gradient(to right, #31528a, #3d318a); }
Background
Text color
Border

Similar colors

Closest common color name: Cobalt Blue.

Questions

What color is #31528A?
#31528A 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 #31528A?
The RGB value is 49, 82, 138: 49 red, 82 green and 138 blue on a 0 to 255 scale.
What is the complementary color of #31528A?
The complementary color is #8A6931, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31528A?
White text. Black text has a contrast ratio of 2.7:1 and white text 7.76:1. WCAG asks for at least 4.5:1 for normal text.