#5271AF color

#5271AF rgb(82, 113, 175)
Shades of blue

The hex color #5271AF is a desaturated blue.

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

Its hue angle is 220°, with 37% saturation and 50% lightness. For print, the CMYK equivalent is 53% cyan, 35% magenta, 0% yellow and 31% black.

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

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

#5271AF color codes

HEX#5271AF
RGBrgb(82, 113, 175)
RGB percentrgb(32.2%, 44.3%, 68.6%)
HSLhsl(220, 37%, 50%)
HSV / HSBhsv(220, 53%, 69%)
CMYKcmyk(53%, 35%, 0%, 31%)
CIE LABlab(47.88, 7.04, -36.45)
CIE LCHlch(47.88, 37.13, 280.93)
CIE XYZxyz(17.12, 16.698, 42.87)
Decimal5403055
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5271AF, 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 #5271AFRatioAAAAAAA large
Sample text4.34:1FailFailPass
Sample text4.84:1PassFailPass
#5271AF as text onRatioAAAAAAA large
Sample text4.84:1PassFailPass
Sample text4.34: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 #5271AF looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Royal Blue.

Questions

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