Color: #301D4C

#301D4C Color Information

#301D4C is a dark color. The closest websafe version is #301D4C. A complement of this color would be #3A4E1D, perceived brightness is 0.16, and the grayscale version is #353535.

In the HSL color space, this color has a hue angle of 264°,a saturation of 45%, and a lightness of 21%.The HSV representation shows a hue of 264°, a saturation of 62%, and a value of 30%.

In a RGB color space, #301D4C is composed of 19% red, 11% green and 30% blue. Whereas in a CMYK color space, it is composed of 37% cyan, 62% magenta, 0% yellow and 70% black.

In the Yxy color space, this color is represented as Y: 1.98, x: 0.2772, and y: 0.1960.

Color Code #301D4C

#301D4Crgb(48, 29, 76)
HEX
#301D4C
RGB
rgb(48, 29, 76)
HSL
hsl(264, 45%, 21%)
HSV
hsv(264, 62%, 30%)
CMYK
37%, 62%, 0%, 70%
XYZ
X: 2.80, Y: 1.98, Z: 5.32
Lab
L: 15.36, a: 18.42, b: -26.13
Name

Shades of Color #301D4C

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

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

#301D4Crgb(48, 29, 76)

About #301D4C Color Code

In the HSL color space, this color has a hue angle of 264°, a saturation of 45%, and a lightness of 21%. The HSV representation shows a hue of 264°, a saturation of 62%, and a value of 30%.

  • HEX: #301D4C
  • RGB: rgb(48, 29, 76)
  • HSL: hsl(264, 45%, 21%)
  • HSV: hsv(264, 62%, 30%)
  • CMYK: 37.00% cyan, 62.00% magenta, 0.00% yellow, 70.00% black
  • XYZ: 2.80, 1.98, 5.32
  • Yxy: 1.98, 0.2772, 0.1960
  • Hunter Lab: 15.36, 18.42, -26.13
  • CIE-Lab: 15.36, 18.42, -26.13

In the XYZ color space, this color is represented as X: 2.80, Y: 1.98, Z: 5.32. The Yxy representation further refines this as Y: 1.98, x: 0.2772, and y: 0.1960.

In the Hunter Lab color space, this color is represented as L: 15.36, a: 18.42, and b: -26.13. Similarly, in the CIE-Lab color space, it is represented as L: 15.36, a: 18.42, and b: -26.13.

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 #301D4C

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

Analogous Colors of #301D4C

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

Split Complementary Colors of #301D4C

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

Tetradic Colors of #301D4C

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

Monochromatic Colors of #301D4C

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

Complementary Color of #301D4C

The complementary color of #301D4C 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 #301D4C

/* Using HEX */
body {
  background-color: #301d4c;
}
/* Using RGB */
body {
  background-color: rgb(48, 29, 76);
}
/* Using RGB with opacity */
body {
  background-color: rgba(48, 29, 76, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(264, 45%, 21%);
}
/* Text color */
p {
  color: #301d4c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #301d4c;
}
/* Border color */
.box {
  border: 4px solid #301d4c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #301d4c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #301d4c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#301D4C
On Black Background
#301D4C
On White Background
#301D4C

HTML Examples of #301D4C

<!-- Using HEX -->
<div style="background-color: #301d4c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(48, 29, 76); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(48, 29, 76, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(264, 45%, 21%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #301d4c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #301d4c; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #301d4c; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #301d4c;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #301d4c; color: #fff; padding: 16px; border-radius: 8px;">
  #301D4C
</div>
#301D4C
On Black Background
#301D4C
On White Background
#301D4C

Related Colors of #301D4C

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