#5791AC color

#5791AC rgb(87, 145, 172)
Shades of blue

The hex color #5791AC is a desaturated azure.

In the RGB color model it is made of 34.1% red, 56.9% green and 67.5% blue (87, 145, 172).

Its hue angle is 199°, with 34% saturation and 51% lightness. For print, the CMYK equivalent is 49% cyan, 16% magenta, 0% yellow and 33% black.

The closest named color is Treasure Map Waters (#658FAA), a difference of 3.2 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 6.05:1).

#5791AC color codes

HEX#5791AC
RGBrgb(87, 145, 172)
RGB percentrgb(34.1%, 56.9%, 67.5%)
HSLhsl(199, 34%, 51%)
HSV / HSBhsv(199, 49%, 67%)
CMYKcmyk(49%, 16%, 0%, 33%)
CIE LABlab(57.32, -11.39, -20.05)
CIE LCHlch(57.32, 23.06, 240.39)
CIE XYZxyz(21.5, 25.254, 42.763)
Decimal5738924
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #5791AC, 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 #5791ACRatioAAAAAAA large
Sample text6.05:1PassFailPass
Sample text3.47:1FailFailPass
#5791AC as text onRatioAAAAAAA large
Sample text3.47:1FailFailPass
Sample text6.05:1PassFailPass

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

CSS examples

.background { background-color: #5791ac; }
.text { color: #5791ac; }
.border { border: 2px solid #5791ac; }
.transparent { background-color: rgb(87 145 172 / 50%); }
.gradient { background: linear-gradient(to right, #5791ac, #5767ac); }
Background
Text color
Border

Similar colors

Questions

What color is #5791AC?
#5791AC is a desaturated azure, closest to the named color Treasure Map Waters. It belongs to the blue family of colors.
What is the RGB value of #5791AC?
The RGB value is 87, 145, 172: 87 red, 145 green and 172 blue on a 0 to 255 scale.
What is the complementary color of #5791AC?
The complementary color is #AC7257, found by rotating the hue 180° on the color wheel.
Is black or white text better on #5791AC?
Black text. Black text has a contrast ratio of 6.05:1 and white text 3.47:1. WCAG asks for at least 4.5:1 for normal text.