#515782 color
The hex color #515782 is a grayish blue.
In the RGB color model it is made of 31.8% red, 34.1% green and 51% blue (81, 87, 130).
Its hue angle is 233°, with 23% saturation and 41% lightness. For print, the CMYK equivalent is 38% cyan, 33% magenta, 0% yellow and 49% black.
The closest named color is Dusk (#4E5481), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.92:1).
#515782 color codes
| HEX | #515782 | |
|---|---|---|
| RGB | rgb(81, 87, 130) | |
| RGB percent | rgb(31.8%, 34.1%, 51%) | |
| HSL | hsl(233, 23%, 41%) | |
| HSV / HSB | hsv(233, 38%, 51%) | |
| CMYK | cmyk(38%, 33%, 0%, 49%) | |
| CIE LAB | lab(38.16, 8.96, -24.88) | |
| CIE LCH | lch(38.16, 26.44, 289.8) | |
| CIE XYZ | xyz(10.83, 10.177, 22.509) | |
| Decimal | 5330818 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #515782, 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 #515782 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.04:1 | Fail | Fail | Pass |
| Sample text | 6.92:1 | Pass | Fail | Pass |
| #515782 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.92:1 | Pass | Fail | Pass |
| Sample text | 3.04:1 | Fail | 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 #515782 looks to people with the most common types of color vision deficiency.
#495c84Protanopia
no red cones#465881Deuteranopia
no green cones#435f66Tritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #515782; }
.text { color: #515782; }
.border { border: 2px solid #515782; }
.transparent { background-color: rgb(81 87 130 / 50%); }
.gradient { background: linear-gradient(to right, #515782, #635182); }
Similar colors
#4e5481Dusk#4c567aDeep Indigo#51588ePiccadilly Purple#50507fTangent Periwinkle#4d5b88Wizard#4e518bTwilight#445780Sailor#5d6098Wizard’s Potion
Closest common color name: Dark Slate Blue.
Questions
- What color is #515782?
- #515782 is a grayish blue, closest to the named color Dusk. It belongs to the blue family of colors.
- What is the RGB value of #515782?
- The RGB value is 81, 87, 130: 81 red, 87 green and 130 blue on a 0 to 255 scale.
- What is the complementary color of #515782?
- The complementary color is #827C51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #515782?
- White text. Black text has a contrast ratio of 3.04:1 and white text 6.92:1. WCAG asks for at least 4.5:1 for normal text.