Color: #342D6E
#342D6E Color Information
#342D6E is a dark color. The closest websafe version is #342D6E. A complement of this color would be #666D2C, perceived brightness is 0.21, and the grayscale version is #4E4E4E.
In the HSL color space, this color has a hue angle of 246°,a saturation of 42%, and a lightness of 30%.The HSV representation shows a hue of 246°, a saturation of 59%, and a value of 43%.
In a RGB color space, #342D6E is composed of 20% red, 18% green and 43% blue. Whereas in a CMYK color space, it is composed of 53% cyan, 59% magenta, 0% yellow and 57% black.
In the Yxy color space, this color is represented as Y: 3.59, x: 0.2398, and y: 0.1816.
Color Code #342D6E
Shades of Color #342D6E
Shades are created by darkening the original color #342D6E 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 #342D6E
Tints are created by lightening the original color #342D6E 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 #342D6E Color Code
In the HSL color space, this color has a hue angle of 246°, a saturation of 42%, and a lightness of 30%. The HSV representation shows a hue of 246°, a saturation of 59%, and a value of 43%.
- HEX: #342D6E
- RGB: rgb(52, 45, 110)
- HSL: hsl(246, 42%, 30%)
- HSV: hsv(246, 59%, 43%)
- CMYK: 53.00% cyan, 59.00% magenta, 0.00% yellow, 57.00% black
- XYZ: 4.74, 3.59, 11.44
- Yxy: 3.59, 0.2398, 0.1816
- Hunter Lab: 22.27, 18.20, -37.53
- CIE-Lab: 22.27, 18.20, -37.53
In the XYZ color space, this color is represented as X: 4.74, Y: 3.59, Z: 11.44. The Yxy representation further refines this as Y: 3.59, x: 0.2398, and y: 0.1816.
In the Hunter Lab color space, this color is represented as L: 22.27, a: 18.20, and b: -37.53. Similarly, in the CIE-Lab color space, it is represented as L: 22.27, a: 18.20, and b: -37.53.
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 #342D6E
Triadic colors are three colors evenly spaced around the color wheel, including #342D6E. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #342D6E
Split complementary colors are two colors adjacent to the complementary color of #342D6E. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #342D6E
Monochromatic colors are variations of #342D6E, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #342D6E
The complementary color of #342D6E 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 #342D6E
/* Using HEX */ body { background-color: #342d6e; }
/* Using RGB */ body { background-color: rgb(52, 45, 110); }
/* Using RGB with opacity */ body { background-color: rgba(52, 45, 110, 0.5); }
/* Using HSL */ body { background-color: hsl(246, 42%, 30%); }
/* Text color */ p { color: #342d6e; }
/* Box shadow */ div { box-shadow: 4px 4px #342d6e; }
/* Border color */ .box { border: 4px solid #342d6e; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #342d6e; }
/* Background with text */ div { background: #342d6e; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #342D6E
<!-- Using HEX --> <div style="background-color: #342d6e; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(52, 45, 110); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(52, 45, 110, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(246, 42%, 30%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #342d6e;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #342d6e; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #342d6e; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #342d6e;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #342d6e; color: #fff; padding: 16px; border-radius: 8px;"> #342D6E </div>
Related Colors of #342D6E
These colors are similar to #342D6E, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.