#505279 color

#505279 rgb(80, 82, 121)
Shades of blue

The hex color #505279 is a grayish blue.

In the RGB color model it is made of 31.4% red, 32.2% green and 47.5% blue (80, 82, 121).

Its hue angle is 237°, with 20% saturation and 39% lightness. For print, the CMYK equivalent is 34% cyan, 32% magenta, 0% yellow and 53% black.

The closest named color is Tangent Periwinkle (#50507F), a difference of 2.2 ΔE, a small difference.

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

#505279 color codes

HEX#505279
RGBrgb(80, 82, 121)
RGB percentrgb(31.4%, 32.2%, 47.5%)
HSLhsl(237, 20%, 39%)
HSV / HSBhsv(237, 34%, 47%)
CMYKcmyk(34%, 32%, 0%, 53%)
CIE LABlab(36.21, 9.2, -22.38)
CIE LCHlch(36.21, 24.2, 292.35)
CIE XYZxyz(9.776, 9.12, 19.331)
Decimal5263993
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #505279, 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 #505279RatioAAAAAAA large
Sample text2.82:1FailFailFail
Sample text7.44:1PassPassPass
#505279 as text onRatioAAAAAAA large
Sample text7.44:1PassPassPass
Sample text2.82: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 #505279 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #505279; }
.text { color: #505279; }
.border { border: 2px solid #505279; }
.transparent { background-color: rgb(80 82 121 / 50%); }
.gradient { background: linear-gradient(to right, #505279, #625079); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #505279?
#505279 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 #505279?
The RGB value is 80, 82, 121: 80 red, 82 green and 121 blue on a 0 to 255 scale.
What is the complementary color of #505279?
The complementary color is #797750, found by rotating the hue 180° on the color wheel.
Is black or white text better on #505279?
White text. Black text has a contrast ratio of 2.82:1 and white text 7.44:1. WCAG asks for at least 4.5:1 for normal text.