#51577A color
The hex color #51577A is a grayish blue.
In the RGB color model it is made of 31.8% red, 34.1% green and 47.8% blue (81, 87, 122).
Its hue angle is 231°, with 20% saturation and 40% lightness. For print, the CMYK equivalent is 34% cyan, 29% magenta, 0% yellow and 52% black.
The closest named color is Deep Indigo (#4C567A), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.01:1).
#51577A color codes
| HEX | #51577A | |
|---|---|---|
| RGB | rgb(81, 87, 122) | |
| RGB percent | rgb(31.8%, 34.1%, 47.8%) | |
| HSL | hsl(231, 20%, 40%) | |
| HSV / HSB | hsv(231, 34%, 48%) | |
| CMYK | cmyk(34%, 29%, 0%, 52%) | |
| CIE LAB | lab(37.79, 6.63, -20.55) | |
| CIE LCH | lch(37.79, 21.59, 287.89) | |
| CIE XYZ | xyz(10.313, 9.971, 19.79) | |
| Decimal | 5330810 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51577A, 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 #51577A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.99:1 | Fail | Fail | Fail |
| Sample text | 7.01:1 | Pass | Pass | Pass |
| #51577A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.01:1 | Pass | Pass | Pass |
| Sample text | 2.99:1 | Fail | Fail | Fail |
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 #51577A looks to people with the most common types of color vision deficiency.
#4c5b7cProtanopia
no red cones#4a5779Deuteranopia
no green cones#465e63Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #51577a; }
.text { color: #51577a; }
.border { border: 2px solid #51577a; }
.transparent { background-color: rgb(81 87 122 / 50%); }
.gradient { background: linear-gradient(to right, #51577a, #60517a); }
Similar colors
#4c567aDeep Indigo#4e5481Dusk#4d516cIntergalactic#555570Majestic Magic#4d5b88Wizard#50507fTangent Periwinkle#445780Sailor#51588ePiccadilly Purple
Closest common color name: Dark Slate Blue.
Questions
- What color is #51577A?
- #51577A is a grayish blue, closest to the named color Deep Indigo. It belongs to the blue family of colors.
- What is the RGB value of #51577A?
- The RGB value is 81, 87, 122: 81 red, 87 green and 122 blue on a 0 to 255 scale.
- What is the complementary color of #51577A?
- The complementary color is #7A7451, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51577A?
- White text. Black text has a contrast ratio of 2.99:1 and white text 7.01:1. WCAG asks for at least 4.5:1 for normal text.