In RGB color space, #5040bf hex color has a red value of 80, a green value of 64 and a blue value of 191.
In CMYK color space (used in color printing), #5040bf hex color is composed of 58.12% cyan, 66.49% magenta, 0% yellow and 25.1% black.
#5040bf color has a hue of 247.6 degrees, a saturation of 49.8% and a lightness of 50%.
#5040bf hex color contains mainly BLUE.
The closest web safe color of #5040bf is #6633cc
#5040bf hex color has a decimal value of 5259455.
HEX | 5040bf | #5040bf |
---|---|---|
RGB | 80, 64, 191 | rgb(80, 64, 191) |
RGB Percent | 31.37, 25.1, 74.9 | rgb(31.37, 25.1, 74.9) |
CMYK | 58, 66, 0, 25 | |
HSL | 247.6°, 49.8, 50 | hsl(247.6, 49.8%, 50%) |
HSV | 247.6°, 66.5, 74.9 |
XYZ | 14.546, 9.134, 50.287 |
---|---|
Hunter Lab | 30.223, 33.022, -77.496 |
CIE-LAB | 36.241, 42.271, -64.524 |
CIE-LCH | 36.241, 77.137, 303.23 |
CIE-LUV | 58.12, 66.49, 0, 25.1 |
Web Safe | 6633cc |
RGB percent of color #5040bf
CMYK percent of color #5040bf
Text with hexadecimal color #5040bf
This text has a font color of #5040bf
<p style="color:#5040bf">Text here</p>
#5040bf Background Color
This box has a background color of #5040bf
<div style="background-color:#5040bf">Text here</div>
#5040bf Border Color
This box has a border color of #5040bf
<div style="border: 4px solid #5040bf">Text here</div>
CSS codes
<p style="color:#5040bf">Text here</p>
<div style="background-color:#5040bf">Text here</div>
<div style="border: 4px solid #5040bf">Text here</div>
#5040bf Color on white background
This is how a font and box color of #5040bf will look
on a white background.
#5040bf Color on black background
This is how a font and box color of #5040bf hex color will look
on a black background.