#545A5F color
The hex color #545A5F is a gray.
In the RGB color model it is made of 32.9% red, 35.3% green and 37.3% blue (84, 90, 95).
Its hue angle is 207°, with 6% saturation and 35% lightness. For print, the CMYK equivalent is 12% cyan, 5% magenta, 0% yellow and 63% black.
The closest named color is Blindfolded (#5A5E61), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.99:1).
#545A5F color codes
| HEX | #545A5F | |
|---|---|---|
| RGB | rgb(84, 90, 95) | |
| RGB percent | rgb(32.9%, 35.3%, 37.3%) | |
| HSL | hsl(207, 6%, 35%) | |
| HSV / HSB | hsv(207, 12%, 37%) | |
| CMYK | cmyk(12%, 5%, 0%, 63%) | |
| CIE LAB | lab(37.88, -1.22, -3.69) | |
| CIE LCH | lch(37.88, 3.88, 251.68) | |
| CIE XYZ | xyz(9.377, 10.023, 12.265) | |
| Decimal | 5528159 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #545A5F, 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 #545A5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3:1 | Fail | Fail | Pass |
| Sample text | 6.99:1 | Pass | Fail | Pass |
| #545A5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.99:1 | Pass | Fail | Pass |
| Sample text | 3: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 #545A5F looks to people with the most common types of color vision deficiency.
#585a5fProtanopia
no red cones#57595fDeuteranopia
no green cones#515b5cTritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #545a5f; }
.text { color: #545a5f; }
.border { border: 2px solid #545a5f; }
.transparent { background-color: rgb(84 90 95 / 50%); }
.gradient { background: linear-gradient(to right, #545a5f, #54555f); }
Similar colors
#5a5e61Blindfolded#535e64Lava Rock#4c5356Trout#566062Yacht Club#5c5d5dKnight’s Armour#4b5a62Fiord#555555Stone Cold#5e5e5eIron
Closest common color name: Dim Gray.
Questions
- What color is #545A5F?
- #545A5F is a gray, closest to the named color Blindfolded. It belongs to the gray family of colors.
- What is the RGB value of #545A5F?
- The RGB value is 84, 90, 95: 84 red, 90 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #545A5F?
- The complementary color is #5F5954, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #545A5F?
- White text. Black text has a contrast ratio of 3:1 and white text 6.99:1. WCAG asks for at least 4.5:1 for normal text.