Color: #2C138C

#2C138C Color Information

#2C138C is a dark color. The closest websafe version is #2C138C. A complement of this color would be #738B13, perceived brightness is 0.16, and the grayscale version is #505050.

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

In a RGB color space, #2C138C is composed of 17% red, 7% green and 55% blue. Whereas in a CMYK color space, it is composed of 69% cyan, 86% magenta, 0% yellow and 45% black.

In the Yxy color space, this color is represented as Y: 2.62, x: 0.1921, and y: 0.0987.

Color Code #2C138C

HEX
#2C138C
RGB
rgb(44, 19, 140)
HSL
hsl(252, 76%, 31%)
HSV
hsv(252, 86%, 55%)
CMYK
69%, 86%, 0%, 45%
XYZ
X: 5.10, Y: 2.62, Z: 18.83
Lab
L: 18.44, a: 39.26, b: -62.83
Name

Shades of Color #2C138C

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

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

In the HSL color space, this color has a hue angle of 252°, a saturation of 76%, and a lightness of 31%. The HSV representation shows a hue of 252°, a saturation of 86%, and a value of 55%.

  • HEX: #2C138C
  • RGB: rgb(44, 19, 140)
  • HSL: hsl(252, 76%, 31%)
  • HSV: hsv(252, 86%, 55%)
  • CMYK: 69.00% cyan, 86.00% magenta, 0.00% yellow, 45.00% black
  • XYZ: 5.10, 2.62, 18.83
  • Yxy: 2.62, 0.1921, 0.0987
  • Hunter Lab: 18.44, 39.26, -62.83
  • CIE-Lab: 18.44, 39.26, -62.83

In the XYZ color space, this color is represented as X: 5.10, Y: 2.62, Z: 18.83. The Yxy representation further refines this as Y: 2.62, x: 0.1921, and y: 0.0987.

In the Hunter Lab color space, this color is represented as L: 18.44, a: 39.26, and b: -62.83. Similarly, in the CIE-Lab color space, it is represented as L: 18.44, a: 39.26, and b: -62.83.

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 #2C138C

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

Analogous Colors of #2C138C

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

Monochromatic Colors of #2C138C

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

Complementary Color of #2C138C

The complementary color of #2C138C 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 #2C138C

/* Using HEX */
body {
  background-color: #2c138c;
}
/* Using RGB */
body {
  background-color: rgb(44, 19, 140);
}
/* Using RGB with opacity */
body {
  background-color: rgba(44, 19, 140, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(252, 76%, 31%);
}
/* Text color */
p {
  color: #2c138c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #2c138c;
}

HTML Examples of #2C138C

<!-- Using HEX -->
<div style="background-color: #2c138c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(44, 19, 140); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(44, 19, 140, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(252, 76%, 31%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #2c138c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #2c138c; width: 100px; height: 100px;"></div>

Related Colors of #2C138C

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