Color: #505871

#505871 Color Information

#505871 is a dark color. The closest websafe version is #505871. A complement of this color would be #716950, perceived brightness is 0.35, and the grayscale version is #616161.

In the HSL color space, this color has a hue angle of 225°,a saturation of 17%, and a lightness of 38%.The HSV representation shows a hue of 225°, a saturation of 100%, and a value of 100%.

In a RGB color space, #505871 is composed of 31% red, 35% green and 44% blue. Whereas in a CMYK color space, it is composed of 29% cyan, 22% magenta, 0% yellow and 56% black.

In the Yxy color space, this color is represented as Y: 9.78, x: 0.2983, and y: 0.3033.

Color Code #505871

HEX
#505871
RGB
rgb(80, 88, 113)
HSL
hsl(225, 17%, 38%)
HSV
hsv(225, 29%, 44%)
CMYK
29%, 22%, 0%, 56%
XYZ
X: 9.62, Y: 9.78, Z: 12.85
Lab
L: 37.45, a: 1.51, b: -15.46
Name

Shades of Color #505871

Shades are created by darkening the original color #505871 in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #505871

Tints are created by lightening the original color #505871 in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

About #505871 Color Code

In the HSL color space, this color has a hue angle of 225°, a saturation of 17%, and a lightness of 38%. The HSV representation shows a hue of 225°, a saturation of 29%, and a value of 44%.

  • HEX: #505871
  • RGB: rgb(80, 88, 113)
  • HSL: hsl(225, 17%, 38%)
  • HSV: hsv(225, 29%, 44%)
  • CMYK: 29.00% cyan, 22.00% magenta, 0.00% yellow, 56.00% black
  • XYZ: 9.62, 9.78, 12.85
  • Yxy: 9.78, 0.2983, 0.3033
  • Hunter Lab: 37.45, 1.51, -15.46
  • CIE-Lab: 37.45, 1.51, -15.46

In the XYZ color space, this color is represented as X: 9.62, Y: 9.78, Z: 12.85. The Yxy representation further refines this as Y: 9.78, x: 0.2983, and y: 0.3033.

In the Hunter Lab color space, this color is represented as L: 37.45, a: 1.51, and b: -15.46. Similarly, in the CIE-Lab color space, it is represented as L: 37.45, a: 1.51, and b: -15.46.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #505871

Triadic colors are three colors evenly spaced around the color wheel, including #505871. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #505871

Analogous colors are adjacent to #505871 on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #505871

Monochromatic colors are variations of #505871, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #505871

The complementary color of #505871 is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #505871

/* Using HEX */
body {
  background-color: #505871;
}
/* Using RGB */
body {
  background-color: rgb(80, 88, 113);
}
/* Using RGB with opacity */
body {
  background-color: rgba(80, 88, 113, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(225, 17%, 38%);
}
/* Text color */
p {
  color: #505871;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #505871;
}

HTML Examples of #505871

<!-- Using HEX -->
<div style="background-color: #505871; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(80, 88, 113); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(80, 88, 113, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(225, 17%, 38%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #505871;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #505871; width: 100px; height: 100px;"></div>

Related Colors of #505871

These colors are similar to #505871, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.