Color: #312834

#312834 Color Information

#312834 is a dark color. The closest websafe version is #312834. A complement of this color would be #2B3428, perceived brightness is 0.17, and the grayscale version is #2E2E2E.

In the HSL color space, this color has a hue angle of 285°,a saturation of 13%, and a lightness of 18%.The HSV representation shows a hue of 285°, a saturation of 23%, and a value of 20%.

In a RGB color space, #312834 is composed of 19% red, 16% green and 20% blue. Whereas in a CMYK color space, it is composed of 6% cyan, 23% magenta, 0% yellow and 80% black.

In the Yxy color space, this color is represented as Y: 2.41, x: 0.3415, and y: 0.3106.

Color Code #312834

#312834rgb(49, 40, 52)
HEX
#312834
RGB
rgb(49, 40, 52)
HSL
hsl(285, 13%, 18%)
HSV
hsv(285, 23%, 20%)
CMYK
6%, 23%, 0%, 80%
XYZ
X: 2.65, Y: 2.41, Z: 2.70
Lab
L: 17.52, a: 6.37, b: -6.19
Name

Shades of Color #312834

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

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

#312834rgb(49, 40, 52)

About #312834 Color Code

In the HSL color space, this color has a hue angle of 285°, a saturation of 13%, and a lightness of 18%. The HSV representation shows a hue of 285°, a saturation of 23%, and a value of 20%.

  • HEX: #312834
  • RGB: rgb(49, 40, 52)
  • HSL: hsl(285, 13%, 18%)
  • HSV: hsv(285, 23%, 20%)
  • CMYK: 6.00% cyan, 23.00% magenta, 0.00% yellow, 80.00% black
  • XYZ: 2.65, 2.41, 2.70
  • Yxy: 2.41, 0.3415, 0.3106
  • Hunter Lab: 17.52, 6.37, -6.19
  • CIE-Lab: 17.52, 6.37, -6.19

In the XYZ color space, this color is represented as X: 2.65, Y: 2.41, Z: 2.70. The Yxy representation further refines this as Y: 2.41, x: 0.3415, and y: 0.3106.

In the Hunter Lab color space, this color is represented as L: 17.52, a: 6.37, and b: -6.19. Similarly, in the CIE-Lab color space, it is represented as L: 17.52, a: 6.37, and b: -6.19.

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 #312834

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

Analogous Colors of #312834

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

Split Complementary Colors of #312834

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

Tetradic Colors of #312834

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

Monochromatic Colors of #312834

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

Complementary Color of #312834

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

/* Using HEX */
body {
  background-color: #312834;
}
/* Using RGB */
body {
  background-color: rgb(49, 40, 52);
}
/* Using RGB with opacity */
body {
  background-color: rgba(49, 40, 52, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(285, 13%, 18%);
}
/* Text color */
p {
  color: #312834;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #312834;
}
/* Border color */
.box {
  border: 4px solid #312834;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #312834;
}
Text Shadow Preview
/* Background with text */
div {
  background: #312834;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#312834
On Black Background
#312834
On White Background
#312834

HTML Examples of #312834

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

Related Colors of #312834

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