Color: #5A5771

#5A5771 Color Information

#5A5771 is a dark color. The closest websafe version is #5A5771. A complement of this color would be #6D7057, perceived brightness is 0.36, and the grayscale version is #646464.

In the HSL color space, this color has a hue angle of 247°,a saturation of 13%, and a lightness of 39%.The HSV representation shows a hue of 247°, a saturation of 23%, and a value of 44%.

In a RGB color space, #5A5771 is composed of 35% red, 34% green and 44% blue. Whereas in a CMYK color space, it is composed of 20% cyan, 23% magenta, 0% yellow and 56% black.

In the Yxy color space, this color is represented as Y: 10.11, x: 0.3135, and y: 0.3022.

Color Code #5A5771

#5A5771rgb(90, 87, 113)
HEX
#5A5771
RGB
rgb(90, 87, 113)
HSL
hsl(247, 13%, 39%)
HSV
hsv(247, 23%, 44%)
CMYK
20%, 23%, 0%, 56%
XYZ
X: 10.49, Y: 10.11, Z: 12.86
Lab
L: 38.04, a: 5.79, b: -14.46
Name

Shades of Color #5A5771

Shades are created by darkening the original color #5A5771 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 #5A5771

Tints are created by lightening the original color #5A5771 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.

#5A5771rgb(90, 87, 113)

About #5A5771 Color Code

In the HSL color space, this color has a hue angle of 247°, a saturation of 13%, and a lightness of 39%. The HSV representation shows a hue of 247°, a saturation of 23%, and a value of 44%.

  • HEX: #5A5771
  • RGB: rgb(90, 87, 113)
  • HSL: hsl(247, 13%, 39%)
  • HSV: hsv(247, 23%, 44%)
  • CMYK: 20.00% cyan, 23.00% magenta, 0.00% yellow, 56.00% black
  • XYZ: 10.49, 10.11, 12.86
  • Yxy: 10.11, 0.3135, 0.3022
  • Hunter Lab: 38.04, 5.79, -14.46
  • CIE-Lab: 38.04, 5.79, -14.46

In the XYZ color space, this color is represented as X: 10.49, Y: 10.11, Z: 12.86. The Yxy representation further refines this as Y: 10.11, x: 0.3135, and y: 0.3022.

In the Hunter Lab color space, this color is represented as L: 38.04, a: 5.79, and b: -14.46. Similarly, in the CIE-Lab color space, it is represented as L: 38.04, a: 5.79, and b: -14.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 #5A5771

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

Analogous Colors of #5A5771

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

Split Complementary Colors of #5A5771

Split complementary colors are two colors adjacent to the complementary color of #5A5771. They create a balanced and visually appealing color scheme.

Tetradic Colors of #5A5771

Tetradic colors form a rectangle on the color wheel, including #5A5771. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #5A5771

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

Complementary Color of #5A5771

The complementary color of #5A5771 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 #5A5771

/* Using HEX */
body {
  background-color: #5a5771;
}
/* Using RGB */
body {
  background-color: rgb(90, 87, 113);
}
/* Using RGB with opacity */
body {
  background-color: rgba(90, 87, 113, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(247, 13%, 39%);
}
/* Text color */
p {
  color: #5a5771;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #5a5771;
}
/* Border color */
.box {
  border: 4px solid #5a5771;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #5a5771;
}
Text Shadow Preview
/* Background with text */
div {
  background: #5a5771;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#5A5771
On Black Background
#5A5771
On White Background
#5A5771

HTML Examples of #5A5771

<!-- Using HEX -->
<div style="background-color: #5a5771; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(90, 87, 113); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(90, 87, 113, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(247, 13%, 39%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #5a5771;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #5a5771; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #5a5771; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #5a5771;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #5a5771; color: #fff; padding: 16px; border-radius: 8px;">
  #5A5771
</div>
#5A5771
On Black Background
#5A5771
On White Background
#5A5771

Related Colors of #5A5771

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