In RGB color space, #2a2f9d hex color has a red value of 42, a green value of 47 and a blue value of 157.
In CMYK color space (used in color printing), #2a2f9d hex color is composed of 73.25% cyan, 70.06% magenta, 0% yellow and 38.43% black.
#2a2f9d color has a hue of 237.4 degrees, a saturation of 57.79% and a lightness of 39%.
#2a2f9d hex color contains mainly BLUE.
The closest web safe color of #2a2f9d is #333399
#2a2f9d hex color has a decimal value of 2764701.
HEX | 2a2f9d | #2a2f9d |
---|---|---|
RGB | 42, 47, 157 | rgb(42, 47, 157) |
RGB Percent | 16.47, 18.43, 61.57 | rgb(16.47, 18.43, 61.57) |
CMYK | 73, 70, 0, 38 | |
HSL | 237.4°, 57.79, 39 | hsl(237.4, 57.79%, 39%) |
HSV | 237.4°, 73.2, 61.6 |
XYZ | 8.057, 4.96, 32.431 |
---|---|
Hunter Lab | 22.271, 25.602, -70.748 |
CIE-LAB | 26.621, 35.933, -60.083 |
CIE-LCH | 26.621, 70.008, 300.882 |
CIE-LUV | 73.25, 70.06, 0, 38.43 |
Web Safe | 333399 |
RGB percent of color #2a2f9d
CMYK percent of color #2a2f9d
Text with hexadecimal color #2a2f9d
This text has a font color of #2a2f9d
<p style="color:#2a2f9d">Text here</p>
#2a2f9d Background Color
This box has a background color of #2a2f9d
<div style="background-color:#2a2f9d">Text here</div>
#2a2f9d Border Color
This box has a border color of #2a2f9d
<div style="border: 4px solid #2a2f9d">Text here</div>
CSS codes
<p style="color:#2a2f9d">Text here</p>
<div style="background-color:#2a2f9d">Text here</div>
<div style="border: 4px solid #2a2f9d">Text here</div>
#2a2f9d Color on white background
This is how a font and box color of #2a2f9d will look
on a white background.
#2a2f9d Color on black background
This is how a font and box color of #2a2f9d hex color will look
on a black background.