Color: #303342

#303342 Color Information

#303342 is a dark color. The closest websafe version is #303342. A complement of this color would be #413E2F, perceived brightness is 0.20, and the grayscale version is #393939.

In the HSL color space, this color has a hue angle of 230°,a saturation of 16%, and a lightness of 22%.The HSV representation shows a hue of 230°, a saturation of 27%, and a value of 26%.

In a RGB color space, #303342 is composed of 19% red, 20% green and 26% blue. Whereas in a CMYK color space, it is composed of 27% cyan, 23% magenta, 0% yellow and 74% black.

In the Yxy color space, this color is represented as Y: 3.36, x: 0.3050, and y: 0.3068.

Color Code #303342

#303342rgb(48, 51, 66)
HEX
#303342
RGB
rgb(48, 51, 66)
HSL
hsl(230, 16%, 22%)
HSV
hsv(230, 27%, 26%)
CMYK
27%, 23%, 0%, 74%
XYZ
X: 3.34, Y: 3.36, Z: 4.25
Lab
L: 21.44, a: 1.68, b: -9.89
Name

Shades of Color #303342

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

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

#303342rgb(48, 51, 66)

About #303342 Color Code

In the HSL color space, this color has a hue angle of 230°, a saturation of 16%, and a lightness of 22%. The HSV representation shows a hue of 230°, a saturation of 27%, and a value of 26%.

  • HEX: #303342
  • RGB: rgb(48, 51, 66)
  • HSL: hsl(230, 16%, 22%)
  • HSV: hsv(230, 27%, 26%)
  • CMYK: 27.00% cyan, 23.00% magenta, 0.00% yellow, 74.00% black
  • XYZ: 3.34, 3.36, 4.25
  • Yxy: 3.36, 0.3050, 0.3068
  • Hunter Lab: 21.44, 1.68, -9.89
  • CIE-Lab: 21.44, 1.68, -9.89

In the XYZ color space, this color is represented as X: 3.34, Y: 3.36, Z: 4.25. The Yxy representation further refines this as Y: 3.36, x: 0.3050, and y: 0.3068.

In the Hunter Lab color space, this color is represented as L: 21.44, a: 1.68, and b: -9.89. Similarly, in the CIE-Lab color space, it is represented as L: 21.44, a: 1.68, and b: -9.89.

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

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

Analogous Colors of #303342

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

Split Complementary Colors of #303342

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

Tetradic Colors of #303342

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

Monochromatic Colors of #303342

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

Complementary Color of #303342

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

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

HTML Examples of #303342

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

Related Colors of #303342

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