Color: #313A5B
#313A5B Color Information
#313A5B is a dark color. The closest websafe version is #313A5B. A complement of this color would be #5A5130, perceived brightness is 0.23, and the grayscale version is #464646.
In the HSL color space, this color has a hue angle of 227°,a saturation of 30%, and a lightness of 27%.The HSV representation shows a hue of 227°, a saturation of 100%, and a value of 100%.
In a RGB color space, #313A5B is composed of 19% red, 23% green and 36% blue. Whereas in a CMYK color space, it is composed of 46% cyan, 36% magenta, 0% yellow and 64% black.
In the Yxy color space, this color is represented as Y: 4.35, x: 0.2669, and y: 0.2597.
Color Code #313A5B
Shades of Color #313A5B
Shades are created by darkening the original color #313A5B 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 #313A5B
Tints are created by lightening the original color #313A5B 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 #313A5B Color Code
In the HSL color space, this color has a hue angle of 227°, a saturation of 30%, and a lightness of 27%. The HSV representation shows a hue of 227°, a saturation of 46%, and a value of 36%.
- HEX: #313A5B
- RGB: rgb(49, 58, 91)
- HSL: hsl(227, 30%, 27%)
- HSV: hsv(227, 46%, 36%)
- CMYK: 46.00% cyan, 36.00% magenta, 0.00% yellow, 64.00% black
- XYZ: 4.47, 4.35, 7.93
- Yxy: 4.35, 0.2669, 0.2597
- Hunter Lab: 24.80, 3.70, -21.25
- CIE-Lab: 24.80, 3.70, -21.25
In the XYZ color space, this color is represented as X: 4.47, Y: 4.35, Z: 7.93. The Yxy representation further refines this as Y: 4.35, x: 0.2669, and y: 0.2597.
In the Hunter Lab color space, this color is represented as L: 24.80, a: 3.70, and b: -21.25. Similarly, in the CIE-Lab color space, it is represented as L: 24.80, a: 3.70, and b: -21.25.
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 #313A5B
Triadic colors are three colors evenly spaced around the color wheel, including #313A5B. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #313A5B
Monochromatic colors are variations of #313A5B, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #313A5B
The complementary color of #313A5B 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 #313A5B
/* Using HEX */ body { background-color: #313a5b; }
/* Using RGB */ body { background-color: rgb(49, 58, 91); }
/* Using RGB with opacity */ body { background-color: rgba(49, 58, 91, 0.5); }
/* Using HSL */ body { background-color: hsl(227, 30%, 27%); }
/* Text color */ p { color: #313a5b; }
/* Box shadow */ div { box-shadow: 4px 4px #313a5b; }
HTML Examples of #313A5B
<!-- Using HEX --> <div style="background-color: #313a5b; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(49, 58, 91); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(49, 58, 91, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(227, 30%, 27%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #313a5b;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #313a5b; width: 100px; height: 100px;"></div>
Related Colors of #313A5B
These colors are similar to #313A5B, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.