In RGB color space, #2a317f hex color has a red value of 42, a green value of 49 and a blue value of 127.
In CMYK color space (used in color printing), #2a317f hex color is composed of 66.93% cyan, 61.42% magenta, 0% yellow and 50.2% black.
#2a317f color has a hue of 235.1 degrees, a saturation of 50.3% and a lightness of 33.1%.
#2a317f hex color contains mainly BLUE.
The closest web safe color of #2a317f is #333366
#2a317f hex color has a decimal value of 2765183.
HEX | 2a317f | #2a317f |
---|---|---|
RGB | 42, 49, 127 | rgb(42, 49, 127) |
RGB Percent | 16.47, 19.22, 49.8 | rgb(16.47, 19.22, 49.8) |
CMYK | 67, 61, 0, 50 | |
HSL | 235.1°, 50.3, 33.1 | hsl(235.1, 50.3%, 33.1%) |
HSV | 235.1°, 66.9, 49.8 |
XYZ | 5.884, 4.221, 20.583 |
---|---|
Hunter Lab | 20.545, 15.168, -45.018 |
CIE-LAB | 24.389, 23.704, -45.147 |
CIE-LCH | 24.389, 50.991, 297.701 |
CIE-LUV | 66.93, 61.42, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #2a317f
CMYK percent of color #2a317f
Text with hexadecimal color #2a317f
This text has a font color of #2a317f
<p style="color:#2a317f">Text here</p>
#2a317f Background Color
This box has a background color of #2a317f
<div style="background-color:#2a317f">Text here</div>
#2a317f Border Color
This box has a border color of #2a317f
<div style="border: 4px solid #2a317f">Text here</div>
CSS codes
<p style="color:#2a317f">Text here</p>
<div style="background-color:#2a317f">Text here</div>
<div style="border: 4px solid #2a317f">Text here</div>
#2a317f Color on white background
This is how a font and box color of #2a317f will look
on a white background.
#2a317f Color on black background
This is how a font and box color of #2a317f hex color will look
on a black background.