#5271A1 color

#5271A1 rgb(82, 113, 161)
Shades of blue

The hex color #5271A1 is a desaturated azure.

In the RGB color model it is made of 32.2% red, 44.3% green and 63.1% blue (82, 113, 161).

Its hue angle is 216°, with 33% saturation and 48% lightness. For print, the CMYK equivalent is 49% cyan, 30% magenta, 0% yellow and 37% black.

The closest named color is Song of the Sea (#4A73A8), a difference of 2.2 ΔE, a small difference.

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

#5271A1 color codes

HEX#5271A1
RGBrgb(82, 113, 161)
RGB percentrgb(32.2%, 44.3%, 63.1%)
HSLhsl(216, 33%, 48%)
HSV / HSBhsv(216, 49%, 63%)
CMYKcmyk(49%, 30%, 0%, 37%)
CIE LABlab(47.2, 2.58, -29.32)
CIE LCHlch(47.2, 29.44, 275.02)
CIE XYZxyz(15.816, 16.176, 36)
Decimal5403041
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5271A1, 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 #5271A1RatioAAAAAAA large
Sample text4.24:1FailFailPass
Sample text4.96:1PassFailPass
#5271A1 as text onRatioAAAAAAA large
Sample text4.96:1PassFailPass
Sample text4.24:1FailFailPass

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 #5271A1 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5271a1; }
.text { color: #5271a1; }
.border { border: 2px solid #5271a1; }
.transparent { background-color: rgb(82 113 161 / 50%); }
.gradient { background: linear-gradient(to right, #5271a1, #5a52a1); }
Background
Text color
Border

Similar colors

Closest common color name: Denim.

Questions

What color is #5271A1?
#5271A1 is a desaturated azure, closest to the named color Song of the Sea. It belongs to the blue family of colors.
What is the RGB value of #5271A1?
The RGB value is 82, 113, 161: 82 red, 113 green and 161 blue on a 0 to 255 scale.
What is the complementary color of #5271A1?
The complementary color is #A18252, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5271A1?
White text. Black text has a contrast ratio of 4.24:1 and white text 4.96:1. WCAG asks for at least 4.5:1 for normal text.