In RGB color space, #2f5a8c hex color has a red value of 47, a green value of 90 and a blue value of 140.
In CMYK color space (used in color printing), #2f5a8c hex color is composed of 66.43% cyan, 35.71% magenta, 0% yellow and 45.1% black.
#2f5a8c color has a hue of 212.3 degrees, a saturation of 49.73% and a lightness of 36.7%.
#2f5a8c hex color contains mainly BLUE.
The closest web safe color of #2f5a8c is #336699
#2f5a8c hex color has a decimal value of 3103372.
HEX | 2f5a8c | #2f5a8c |
---|---|---|
RGB | 47, 90, 140 | rgb(47, 90, 140) |
RGB Percent | 18.43, 35.29, 54.9 | rgb(18.43, 35.29, 54.9) |
CMYK | 66, 36, 0, 45 | |
HSL | 212.3°, 49.73, 36.7 | hsl(212.3, 49.73%, 36.7%) |
HSV | 212.3°, 66.4, 54.9 |
XYZ | 9.562, 9.81, 26.201 |
---|---|
Hunter Lab | 31.321, -0.317, -27.673 |
CIE-LAB | 37.499, 1.945, -32.159 |
CIE-LCH | 37.499, 32.218, 273.461 |
CIE-LUV | 66.43, 35.71, 0, 45.1 |
Web Safe | 336699 |
RGB percent of color #2f5a8c
CMYK percent of color #2f5a8c
Text with hexadecimal color #2f5a8c
This text has a font color of #2f5a8c
<p style="color:#2f5a8c">Text here</p>
#2f5a8c Background Color
This box has a background color of #2f5a8c
<div style="background-color:#2f5a8c">Text here</div>
#2f5a8c Border Color
This box has a border color of #2f5a8c
<div style="border: 4px solid #2f5a8c">Text here</div>
CSS codes
<p style="color:#2f5a8c">Text here</p>
<div style="background-color:#2f5a8c">Text here</div>
<div style="border: 4px solid #2f5a8c">Text here</div>
#2f5a8c Color on white background
This is how a font and box color of #2f5a8c will look
on a white background.
#2f5a8c Color on black background
This is how a font and box color of #2f5a8c hex color will look
on a black background.