#545159 color

#545159 rgb(84, 81, 89)
Shades of gray

The hex color #545159 is a gray.

In the RGB color model it is made of 32.9% red, 31.8% green and 34.9% blue (84, 81, 89).

Its hue angle is 263°, with 5% saturation and 33% lightness. For print, the CMYK equivalent is 6% cyan, 9% magenta, 0% yellow and 65% black.

The closest named color is Magnet (#525054), a difference of 2.5 ΔE, a small difference.

White text is the more readable choice on this background (contrast 7.78:1).

#545159 color codes

HEX#545159
RGBrgb(84, 81, 89)
RGB percentrgb(32.9%, 31.8%, 34.9%)
HSLhsl(263, 5%, 33%)
HSV / HSBhsv(263, 9%, 35%)
CMYKcmyk(6%, 9%, 0%, 65%)
CIE LABlab(34.99, 2.96, -4.23)
CIE LCHlch(34.99, 5.17, 305.02)
CIE XYZxyz(8.401, 8.491, 10.646)
Decimal5525849
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #545159, 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 #545159RatioAAAAAAA large
Sample text2.7:1FailFailFail
Sample text7.78:1PassPassPass
#545159 as text onRatioAAAAAAA large
Sample text7.78:1PassPassPass
Sample text2.7:1FailFailFail

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 #545159 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #545159; }
.text { color: #545159; }
.border { border: 2px solid #545159; }
.transparent { background-color: rgb(84 81 89 / 50%); }
.gradient { background: linear-gradient(to right, #545159, #585159); }
Background
Text color
Border

Similar colors

Closest common color name: Dim Gray.

Questions

What color is #545159?
#545159 is a gray, closest to the named color Magnet. It belongs to the gray family of colors.
What is the RGB value of #545159?
The RGB value is 84, 81, 89: 84 red, 81 green and 89 blue on a 0 to 255 scale.
What is the complementary color of #545159?
The complementary color is #565951, found by rotating the hue 180° on the color wheel.
Is black or white text better on #545159?
White text. Black text has a contrast ratio of 2.7:1 and white text 7.78:1. WCAG asks for at least 4.5:1 for normal text.