#54507D color
The hex color #54507D is a grayish blue.
In the RGB color model it is made of 32.9% red, 31.4% green and 49% blue (84, 80, 125).
Its hue angle is 245°, with 22% saturation and 40% lightness. For print, the CMYK equivalent is 33% cyan, 36% magenta, 0% yellow and 51% black.
The closest named color is Tangent Periwinkle (#50507F), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.45:1).
#54507D color codes
| HEX | #54507D | |
|---|---|---|
| RGB | rgb(84, 80, 125) | |
| RGB percent | rgb(32.9%, 31.4%, 49%) | |
| HSL | hsl(245, 22%, 40%) | |
| HSV / HSB | hsv(245, 36%, 49%) | |
| CMYK | cmyk(33%, 36%, 0%, 51%) | |
| CIE LAB | lab(36.18, 12.89, -24.88) | |
| CIE LCH | lch(36.18, 28.02, 297.38) | |
| CIE XYZ | xyz(10.226, 9.103, 20.616) | |
| Decimal | 5525629 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #54507D, 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 #54507D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.45:1 | Pass | Pass | Pass |
| #54507D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.45:1 | Pass | Pass | Pass |
| Sample text | 2.82: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 #54507D looks to people with the most common types of color vision deficiency.
#43567fProtanopia
no red cones#42547cDeuteranopia
no green cones#4a5860Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #54507d; }
.text { color: #54507d; }
.border { border: 2px solid #54507d; }
.transparent { background-color: rgb(84 80 125 / 50%); }
.gradient { background: linear-gradient(to right, #54507d, #6a507d); }
Similar colors
#50507fTangent Periwinkle#5c5083Freshly Purpleized#4e5481Dusk#4e518bTwilight#604c81Sumptuous Purple#655883Berry Jam#51588ePiccadilly Purple#4c567aDeep Indigo
Closest common color name: Dark Slate Blue.
Questions
- What color is #54507D?
- #54507D is a grayish blue, closest to the named color Tangent Periwinkle. It belongs to the blue family of colors.
- What is the RGB value of #54507D?
- The RGB value is 84, 80, 125: 84 red, 80 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #54507D?
- The complementary color is #797D50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #54507D?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.45:1. WCAG asks for at least 4.5:1 for normal text.