Color: #5B51CA

#5B51CA Color Information

#5B51CA is a dark color. The closest websafe version is #5B51CA. A complement of this color would be #BFC94F, perceived brightness is 0.38, and the grayscale version is #8E8E8E.

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

In a RGB color space, #5B51CA is composed of 36% red, 32% green and 79% blue. Whereas in a CMYK color space, it is composed of 55% cyan, 60% magenta, 0% yellow and 21% black.

In the Yxy color space, this color is represented as Y: 11.81, x: 0.2275, and y: 0.1661.

Color Code #5B51CA

#5B51CArgb(91, 81, 202)
HEX
#5B51CA
RGB
rgb(91, 81, 202)
HSL
hsl(245, 53%, 55%)
HSV
hsv(245, 60%, 79%)
CMYK
55%, 60%, 0%, 21%
XYZ
X: 16.18, Y: 11.81, Z: 43.13
Lab
L: 40.91, a: 30.50, b: -62.98
Name

Shades of Color #5B51CA

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

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

#5B51CArgb(91, 81, 202)

About #5B51CA Color Code

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

  • HEX: #5B51CA
  • RGB: rgb(91, 81, 202)
  • HSL: hsl(245, 53%, 55%)
  • HSV: hsv(245, 60%, 79%)
  • CMYK: 55.00% cyan, 60.00% magenta, 0.00% yellow, 21.00% black
  • XYZ: 16.18, 11.81, 43.13
  • Yxy: 11.81, 0.2275, 0.1661
  • Hunter Lab: 40.91, 30.50, -62.98
  • CIE-Lab: 40.91, 30.50, -62.98

In the XYZ color space, this color is represented as X: 16.18, Y: 11.81, Z: 43.13. The Yxy representation further refines this as Y: 11.81, x: 0.2275, and y: 0.1661.

In the Hunter Lab color space, this color is represented as L: 40.91, a: 30.50, and b: -62.98. Similarly, in the CIE-Lab color space, it is represented as L: 40.91, a: 30.50, and b: -62.98.

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 #5B51CA

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

Analogous Colors of #5B51CA

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

Monochromatic Colors of #5B51CA

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

Complementary Color of #5B51CA

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

/* Using HEX */
body {
  background-color: #5b51ca;
}
/* Using RGB */
body {
  background-color: rgb(91, 81, 202);
}
/* Using RGB with opacity */
body {
  background-color: rgba(91, 81, 202, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(245, 53%, 55%);
}
/* Text color */
p {
  color: #5b51ca;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #5b51ca;
}
/* Border color */
.box {
  border: 4px solid #5b51ca;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #5b51ca;
}
Text Shadow Preview
/* Background with text */
div {
  background: #5b51ca;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#5B51CA
On Black Background
#5B51CA
On White Background
#5B51CA

HTML Examples of #5B51CA

<!-- Using HEX -->
<div style="background-color: #5b51ca; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(91, 81, 202); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(91, 81, 202, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(245, 53%, 55%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #5b51ca;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #5b51ca; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #5b51ca; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #5b51ca;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #5b51ca; color: #fff; padding: 16px; border-radius: 8px;">
  #5B51CA
</div>
#5B51CA
On Black Background
#5B51CA
On White Background
#5B51CA

Related Colors of #5B51CA

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