Color: #400B9C

#400B9C Color Information

#400B9C is a dark color. The closest websafe version is #400B9C. A complement of this color would be #689D0B, perceived brightness is 0.17, and the grayscale version is #535353.

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

In a RGB color space, #400B9C is composed of 25% red, 4% green and 61% blue. Whereas in a CMYK color space, it is composed of 59% cyan, 93% magenta, 0% yellow and 39% black.

In the Yxy color space, this color is represented as Y: 3.40, x: 0.2072, and y: 0.0989.

Color Code #400B9C

HEX
#400B9C
RGB
rgb(64, 11, 156)
HSL
hsl(262, 87%, 33%)
HSV
hsv(262, 93%, 61%)
CMYK
59%, 93%, 0%, 39%
XYZ
X: 7.12, Y: 3.40, Z: 23.85
Lab
L: 21.56, a: 47.87, b: -67.46
Name

Shades of Color #400B9C

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

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

In the HSL color space, this color has a hue angle of 262°, a saturation of 87%, and a lightness of 33%. The HSV representation shows a hue of 262°, a saturation of 93%, and a value of 61%.

  • HEX: #400B9C
  • RGB: rgb(64, 11, 156)
  • HSL: hsl(262, 87%, 33%)
  • HSV: hsv(262, 93%, 61%)
  • CMYK: 59.00% cyan, 93.00% magenta, 0.00% yellow, 39.00% black
  • XYZ: 7.12, 3.40, 23.85
  • Yxy: 3.40, 0.2072, 0.0989
  • Hunter Lab: 21.56, 47.87, -67.46
  • CIE-Lab: 21.56, 47.87, -67.46

In the XYZ color space, this color is represented as X: 7.12, Y: 3.40, Z: 23.85. The Yxy representation further refines this as Y: 3.40, x: 0.2072, and y: 0.0989.

In the Hunter Lab color space, this color is represented as L: 21.56, a: 47.87, and b: -67.46. Similarly, in the CIE-Lab color space, it is represented as L: 21.56, a: 47.87, and b: -67.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 #400B9C

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

Analogous Colors of #400B9C

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

Monochromatic Colors of #400B9C

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

Complementary Color of #400B9C

The complementary color of #400B9C 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 #400B9C

/* Using HEX */
body {
  background-color: #400b9c;
}
/* Using RGB */
body {
  background-color: rgb(64, 11, 156);
}
/* Using RGB with opacity */
body {
  background-color: rgba(64, 11, 156, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(262, 87%, 33%);
}
/* Text color */
p {
  color: #400b9c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #400b9c;
}

HTML Examples of #400B9C

<!-- Using HEX -->
<div style="background-color: #400b9c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(64, 11, 156); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(64, 11, 156, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(262, 87%, 33%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #400b9c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #400b9c; width: 100px; height: 100px;"></div>

Related Colors of #400B9C

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