Color: #313D42

#313D42 Color Information

#313D42 is a dark color. The closest websafe version is #313D42. A complement of this color would be #433732, perceived brightness is 0.23, and the grayscale version is #3A3A3A.

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

In a RGB color space, #313D42 is composed of 19% red, 24% green and 26% blue. Whereas in a CMYK color space, it is composed of 26% cyan, 8% magenta, 0% yellow and 74% black.

In the Yxy color space, this color is represented as Y: 4.36, x: 0.3094, and y: 0.3441.

Color Code #313D42

HEX
#313D42
RGB
rgb(49, 61, 66)
HSL
hsl(198, 15%, 23%)
HSV
hsv(198, 26%, 26%)
CMYK
26%, 8%, 0%, 74%
XYZ
X: 3.92, Y: 4.36, Z: 4.39
Lab
L: 24.82, a: -4.10, b: -4.81
Name

Shades of Color #313D42

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

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

In the HSL color space, this color has a hue angle of 198°, a saturation of 15%, and a lightness of 23%. The HSV representation shows a hue of 198°, a saturation of 26%, and a value of 26%.

  • HEX: #313D42
  • RGB: rgb(49, 61, 66)
  • HSL: hsl(198, 15%, 23%)
  • HSV: hsv(198, 26%, 26%)
  • CMYK: 26.00% cyan, 8.00% magenta, 0.00% yellow, 74.00% black
  • XYZ: 3.92, 4.36, 4.39
  • Yxy: 4.36, 0.3094, 0.3441
  • Hunter Lab: 24.82, -4.10, -4.81
  • CIE-Lab: 24.82, -4.10, -4.81

In the XYZ color space, this color is represented as X: 3.92, Y: 4.36, Z: 4.39. The Yxy representation further refines this as Y: 4.36, x: 0.3094, and y: 0.3441.

In the Hunter Lab color space, this color is represented as L: 24.82, a: -4.10, and b: -4.81. Similarly, in the CIE-Lab color space, it is represented as L: 24.82, a: -4.10, and b: -4.81.

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 #313D42

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

Analogous Colors of #313D42

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

Monochromatic Colors of #313D42

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

Complementary Color of #313D42

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

/* Using HEX */
body {
  background-color: #313d42;
}
/* Using RGB */
body {
  background-color: rgb(49, 61, 66);
}
/* Using RGB with opacity */
body {
  background-color: rgba(49, 61, 66, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(198, 15%, 23%);
}
/* Text color */
p {
  color: #313d42;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #313d42;
}

HTML Examples of #313D42

<!-- Using HEX -->
<div style="background-color: #313d42; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(49, 61, 66); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(49, 61, 66, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(198, 15%, 23%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #313d42;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #313d42; width: 100px; height: 100px;"></div>

Related Colors of #313D42

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