Color: #5151C8

#5151C8 Color Information

#5151C8 is a dark color. The closest websafe version is #5151C8. A complement of this color would be #C8C851, perceived brightness is 0.37, and the grayscale version is #8D8D8D.

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

In a RGB color space, #5151C8 is composed of 32% red, 32% green and 78% blue. Whereas in a CMYK color space, it is composed of 60% cyan, 60% magenta, 0% yellow and 22% black.

In the Yxy color space, this color is represented as Y: 11.23, x: 0.2196, and y: 0.1642.

Color Code #5151C8

HEX
#5151C8
RGB
rgb(81, 81, 200)
HSL
hsl(240, 52%, 55%)
HSV
hsv(240, 60%, 78%)
CMYK
60%, 60%, 0%, 22%
XYZ
X: 15.02, Y: 11.23, Z: 42.16
Lab
L: 39.97, a: 27.80, b: -63.40
Name

Shades of Color #5151C8

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

Tints are created by lightening the original color #5151C8 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 #5151C8 Color Code

In the HSL color space, this color has a hue angle of 240°, a saturation of 52%, and a lightness of 55%. The HSV representation shows a hue of 240°, a saturation of 60%, and a value of 78%.

  • HEX: #5151C8
  • RGB: rgb(81, 81, 200)
  • HSL: hsl(240, 52%, 55%)
  • HSV: hsv(240, 60%, 78%)
  • CMYK: 60.00% cyan, 60.00% magenta, 0.00% yellow, 22.00% black
  • XYZ: 15.02, 11.23, 42.16
  • Yxy: 11.23, 0.2196, 0.1642
  • Hunter Lab: 39.97, 27.80, -63.40
  • CIE-Lab: 39.97, 27.80, -63.40

In the XYZ color space, this color is represented as X: 15.02, Y: 11.23, Z: 42.16. The Yxy representation further refines this as Y: 11.23, x: 0.2196, and y: 0.1642.

In the Hunter Lab color space, this color is represented as L: 39.97, a: 27.80, and b: -63.40. Similarly, in the CIE-Lab color space, it is represented as L: 39.97, a: 27.80, and b: -63.40.

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 #5151C8

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

Analogous Colors of #5151C8

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

Monochromatic Colors of #5151C8

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

Complementary Color of #5151C8

The complementary color of #5151C8 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 #5151C8

/* Using HEX */
body {
  background-color: #5151c8;
}
/* Using RGB */
body {
  background-color: rgb(81, 81, 200);
}
/* Using RGB with opacity */
body {
  background-color: rgba(81, 81, 200, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(240, 52%, 55%);
}
/* Text color */
p {
  color: #5151c8;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #5151c8;
}

HTML Examples of #5151C8

<!-- Using HEX -->
<div style="background-color: #5151c8; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(81, 81, 200); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(81, 81, 200, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(240, 52%, 55%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #5151c8;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #5151c8; width: 100px; height: 100px;"></div>

Related Colors of #5151C8

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