#5174A5 color

#5174A5 rgb(81, 116, 165)
Shades of blue

The hex color #5174A5 is a desaturated azure.

In the RGB color model it is made of 31.8% red, 45.5% green and 64.7% blue (81, 116, 165).

Its hue angle is 215°, with 34% saturation and 48% lightness. For print, the CMYK equivalent is 51% cyan, 30% magenta, 0% yellow and 35% black.

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

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

#5174A5 color codes

HEX#5174A5
RGBrgb(81, 116, 165)
RGB percentrgb(31.8%, 45.5%, 64.7%)
HSLhsl(215, 34%, 48%)
HSV / HSBhsv(215, 51%, 65%)
CMYKcmyk(51%, 30%, 0%, 35%)
CIE LABlab(48.2, 1.78, -30.11)
CIE LCHlch(48.2, 30.16, 273.37)
CIE XYZxyz(16.428, 16.956, 37.997)
Decimal5338277
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5174A5, 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 #5174A5RatioAAAAAAA large
Sample text4.39:1FailFailPass
Sample text4.78:1PassFailPass
#5174A5 as text onRatioAAAAAAA large
Sample text4.78:1PassFailPass
Sample text4.39: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 #5174A5 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #5174a5; }
.text { color: #5174a5; }
.border { border: 2px solid #5174a5; }
.transparent { background-color: rgb(81 116 165 / 50%); }
.gradient { background: linear-gradient(to right, #5174a5, #5851a5); }
Background
Text color
Border

Similar colors

Closest common color name: Steel Blue.

Questions

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