Color: #4040CE

#4040CE Color Information

#4040CE is a dark color. The closest websafe version is #4040CE. A complement of this color would be #CECE40, perceived brightness is 0.31, and the grayscale version is #878787.

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

In a RGB color space, #4040CE is composed of 25% red, 25% green and 81% blue. Whereas in a CMYK color space, it is composed of 69% cyan, 69% magenta, 0% yellow and 19% black.

In the Yxy color space, this color is represented as Y: 8.56, x: 0.1968, and y: 0.1292.

Color Code #4040CE

HEX
#4040CE
RGB
rgb(64, 64, 206)
HSL
hsl(240, 59%, 53%)
HSV
hsv(240, 69%, 81%)
CMYK
69%, 69%, 0%, 19%
XYZ
X: 13.04, Y: 8.56, Z: 44.65
Lab
L: 35.12, a: 36.32, b: -74.84
Name

Shades of Color #4040CE

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

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

In the HSL color space, this color has a hue angle of 240°, a saturation of 59%, and a lightness of 53%. The HSV representation shows a hue of 240°, a saturation of 69%, and a value of 81%.

  • HEX: #4040CE
  • RGB: rgb(64, 64, 206)
  • HSL: hsl(240, 59%, 53%)
  • HSV: hsv(240, 69%, 81%)
  • CMYK: 69.00% cyan, 69.00% magenta, 0.00% yellow, 19.00% black
  • XYZ: 13.04, 8.56, 44.65
  • Yxy: 8.56, 0.1968, 0.1292
  • Hunter Lab: 35.12, 36.32, -74.84
  • CIE-Lab: 35.12, 36.32, -74.84

In the XYZ color space, this color is represented as X: 13.04, Y: 8.56, Z: 44.65. The Yxy representation further refines this as Y: 8.56, x: 0.1968, and y: 0.1292.

In the Hunter Lab color space, this color is represented as L: 35.12, a: 36.32, and b: -74.84. Similarly, in the CIE-Lab color space, it is represented as L: 35.12, a: 36.32, and b: -74.84.

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 #4040CE

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

Analogous Colors of #4040CE

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

Monochromatic Colors of #4040CE

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

Complementary Color of #4040CE

The complementary color of #4040CE 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 #4040CE

/* Using HEX */
body {
  background-color: #4040ce;
}
/* Using RGB */
body {
  background-color: rgb(64, 64, 206);
}
/* Using RGB with opacity */
body {
  background-color: rgba(64, 64, 206, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(240, 59%, 53%);
}
/* Text color */
p {
  color: #4040ce;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #4040ce;
}

HTML Examples of #4040CE

<!-- Using HEX -->
<div style="background-color: #4040ce; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(64, 64, 206); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(64, 64, 206, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(240, 59%, 53%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #4040ce;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #4040ce; width: 100px; height: 100px;"></div>

Related Colors of #4040CE

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