#5791AC color
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 | |
|---|---|---|
| RGB | rgb(87, 145, 172) | |
| RGB percent | rgb(34.1%, 56.9%, 67.5%) | |
| HSL | hsl(199, 34%, 51%) | |
| HSV / HSB | hsv(199, 49%, 67%) | |
| CMYK | cmyk(49%, 16%, 0%, 33%) | |
| CIE LAB | lab(57.32, -11.39, -20.05) | |
| CIE LCH | lch(57.32, 23.06, 240.39) | |
| CIE XYZ | xyz(21.5, 25.254, 42.763) | |
| Decimal | 5738924 | |
| Short hex | None (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 #5791AC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.05:1 | Pass | Fail | Pass |
| Sample text | 3.47:1 | Fail | Fail | Pass |
| #5791AC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.47:1 | Fail | Fail | Pass |
| Sample text | 6.05:1 | Pass | Fail | Pass |
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.
#838fadProtanopia
no red cones#7786acDeuteranopia
no green cones#2b999aTritanopia
no blue cones#8a8a8aAchromatopsia
no color vision
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); }
Similar colors
#658faaTreasure Map Waters#5d8aa8Air Force Blue#4488aaUnderwater Moonlight#3994afEnchanted Well#689db7Lake Lucerne#3992a8Blue Moon#1e8cabMediterranean Sea#648894Horizon
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.