In RGB color space, #2a2f8e hex color has a red value of 42, a green value of 47 and a blue value of 142.
In CMYK color space (used in color printing), #2a2f8e hex color is composed of 70.42% cyan, 66.9% magenta, 0% yellow and 44.31% black.
#2a2f8e color has a hue of 237 degrees, a saturation of 54.35% and a lightness of 36.1%.
#2a2f8e hex color contains mainly BLUE.
The closest web safe color of #2a2f8e is #333399
#2a2f8e hex color has a decimal value of 2764686.
HEX | 2a2f8e | #2a2f8e |
---|---|---|
RGB | 42, 47, 142 | rgb(42, 47, 142) |
RGB Percent | 16.47, 18.43, 55.69 | rgb(16.47, 18.43, 55.69) |
CMYK | 70, 67, 0, 44 | |
HSL | 237°, 54.35, 36.1 | hsl(237, 54.35%, 36.1%) |
HSV | 237°, 70.4, 55.7 |
XYZ | 6.854, 4.478, 26.094 |
---|---|
Hunter Lab | 21.161, 20.783, -58.298 |
CIE-LAB | 25.193, 30.562, -53.207 |
CIE-LCH | 25.193, 61.36, 299.873 |
CIE-LUV | 70.42, 66.9, 0, 44.31 |
Web Safe | 333399 |
RGB percent of color #2a2f8e
CMYK percent of color #2a2f8e
Text with hexadecimal color #2a2f8e
This text has a font color of #2a2f8e
<p style="color:#2a2f8e">Text here</p>
#2a2f8e Background Color
This box has a background color of #2a2f8e
<div style="background-color:#2a2f8e">Text here</div>
#2a2f8e Border Color
This box has a border color of #2a2f8e
<div style="border: 4px solid #2a2f8e">Text here</div>
CSS codes
<p style="color:#2a2f8e">Text here</p>
<div style="background-color:#2a2f8e">Text here</div>
<div style="border: 4px solid #2a2f8e">Text here</div>
#2a2f8e Color on white background
This is how a font and box color of #2a2f8e will look
on a white background.
#2a2f8e Color on black background
This is how a font and box color of #2a2f8e hex color will look
on a black background.