#5172AB color

#5172AB rgb(81, 114, 171)
Shades of blue

The hex color #5172AB is a desaturated azure.

In the RGB color model it is made of 31.8% red, 44.7% green and 67.1% blue (81, 114, 171).

Its hue angle is 218°, with 36% saturation and 49% lightness. For print, the CMYK equivalent is 53% cyan, 33% magenta, 0% yellow and 33% black.

The closest named color is Song of the Sea (#4A73A8), a difference of 1.9 ΔE, which is barely visible.

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

#5172AB color codes

HEX#5172AB
RGBrgb(81, 114, 171)
RGB percentrgb(31.8%, 44.7%, 67.1%)
HSLhsl(218, 36%, 49%)
HSV / HSBhsv(218, 53%, 67%)
CMYKcmyk(53%, 33%, 0%, 33%)
CIE LABlab(47.91, 4.9, -34.08)
CIE LCHlch(47.91, 34.43, 278.19)
CIE XYZxyz(16.759, 16.723, 40.865)
Decimal5337771
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #5172ab; }
.text { color: #5172ab; }
.border { border: 2px solid #5172ab; }
.transparent { background-color: rgb(81 114 171 / 50%); }
.gradient { background: linear-gradient(to right, #5172ab, #5d51ab); }
Background
Text color
Border

Similar colors

Closest common color name: Denim.

Questions

What color is #5172AB?
#5172AB 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 #5172AB?
The RGB value is 81, 114, 171: 81 red, 114 green and 171 blue on a 0 to 255 scale.
What is the complementary color of #5172AB?
The complementary color is #AB8A51, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5172AB?
White text. Black text has a contrast ratio of 4.34:1 and white text 4.83:1. WCAG asks for at least 4.5:1 for normal text.