Color: #381E7B

#381E7B Color Information

#381E7B is a dark color. The closest websafe version is #381E7B. A complement of this color would be #617B1E, perceived brightness is 0.19, and the grayscale version is #4D4D4D.

In the HSL color space, this color has a hue angle of 257°,a saturation of 61%, and a lightness of 30%.The HSV representation shows a hue of 257°, a saturation of 76%, and a value of 48%.

In a RGB color space, #381E7B is composed of 22% red, 12% green and 48% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 76% magenta, 0% yellow and 52% black.

In the Yxy color space, this color is represented as Y: 3.01, x: 0.2259, and y: 0.1344.

Color Code #381E7B

#381E7Brgb(56, 30, 123)
HEX
#381E7B
RGB
rgb(56, 30, 123)
HSL
hsl(257, 61%, 30%)
HSV
hsv(257, 76%, 48%)
CMYK
54%, 76%, 0%, 52%
XYZ
X: 5.06, Y: 3.01, Z: 14.33
Lab
L: 20.09, a: 31.62, b: -49.35
Name

Shades of Color #381E7B

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

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

#381E7Brgb(56, 30, 123)

About #381E7B Color Code

In the HSL color space, this color has a hue angle of 257°, a saturation of 61%, and a lightness of 30%. The HSV representation shows a hue of 257°, a saturation of 76%, and a value of 48%.

  • HEX: #381E7B
  • RGB: rgb(56, 30, 123)
  • HSL: hsl(257, 61%, 30%)
  • HSV: hsv(257, 76%, 48%)
  • CMYK: 54.00% cyan, 76.00% magenta, 0.00% yellow, 52.00% black
  • XYZ: 5.06, 3.01, 14.33
  • Yxy: 3.01, 0.2259, 0.1344
  • Hunter Lab: 20.09, 31.62, -49.35
  • CIE-Lab: 20.09, 31.62, -49.35

In the XYZ color space, this color is represented as X: 5.06, Y: 3.01, Z: 14.33. The Yxy representation further refines this as Y: 3.01, x: 0.2259, and y: 0.1344.

In the Hunter Lab color space, this color is represented as L: 20.09, a: 31.62, and b: -49.35. Similarly, in the CIE-Lab color space, it is represented as L: 20.09, a: 31.62, and b: -49.35.

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 #381E7B

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

Analogous Colors of #381E7B

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

Split Complementary Colors of #381E7B

Split complementary colors are two colors adjacent to the complementary color of #381E7B. They create a balanced and visually appealing color scheme.

Tetradic Colors of #381E7B

Tetradic colors form a rectangle on the color wheel, including #381E7B. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #381E7B

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

Complementary Color of #381E7B

The complementary color of #381E7B 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 #381E7B

/* Using HEX */
body {
  background-color: #381e7b;
}
/* Using RGB */
body {
  background-color: rgb(56, 30, 123);
}
/* Using RGB with opacity */
body {
  background-color: rgba(56, 30, 123, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(257, 61%, 30%);
}
/* Text color */
p {
  color: #381e7b;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #381e7b;
}
/* Border color */
.box {
  border: 4px solid #381e7b;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #381e7b;
}
Text Shadow Preview
/* Background with text */
div {
  background: #381e7b;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#381E7B
On Black Background
#381E7B
On White Background
#381E7B

HTML Examples of #381E7B

<!-- Using HEX -->
<div style="background-color: #381e7b; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(56, 30, 123); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(56, 30, 123, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(257, 61%, 30%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #381e7b;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #381e7b; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #381e7b; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #381e7b;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #381e7b; color: #fff; padding: 16px; border-radius: 8px;">
  #381E7B
</div>
#381E7B
On Black Background
#381E7B
On White Background
#381E7B

Related Colors of #381E7B

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