In RGB color space, #4040bf hex color has a red value of 64, a green value of 64 and a blue value of 191.
In CMYK color space (used in color printing), #4040bf hex color is composed of 66.49% cyan, 66.49% magenta, 0% yellow and 25.1% black.
#4040bf color has a hue of 240 degrees, a saturation of 49.8% and a lightness of 50%.
#4040bf hex color contains mainly BLUE.
The closest web safe color of #4040bf is #3333cc
#4040bf hex color has a decimal value of 4210879.
HEX | 4040bf | #4040bf |
---|---|---|
RGB | 64, 64, 191 | rgb(64, 64, 191) |
RGB Percent | 25.1, 25.1, 74.9 | rgb(25.1, 25.1, 74.9) |
CMYK | 66, 66, 0, 25 | |
HSL | 240°, 49.8, 50 | hsl(240, 49.8%, 50%) |
HSV | 240°, 66.5, 74.9 |
XYZ | 13.352, 8.518, 50.231 |
---|---|
Hunter Lab | 29.186, 30.586, -81.613 |
CIE-LAB | 35.039, 39.923, -66.539 |
CIE-LCH | 35.039, 77.597, 300.964 |
CIE-LUV | 66.49, 66.49, 0, 25.1 |
Web Safe | 3333cc |
RGB percent of color #4040bf
CMYK percent of color #4040bf
Text with hexadecimal color #4040bf
This text has a font color of #4040bf
<p style="color:#4040bf">Text here</p>
#4040bf Background Color
This box has a background color of #4040bf
<div style="background-color:#4040bf">Text here</div>
#4040bf Border Color
This box has a border color of #4040bf
<div style="border: 4px solid #4040bf">Text here</div>
CSS codes
<p style="color:#4040bf">Text here</p>
<div style="background-color:#4040bf">Text here</div>
<div style="border: 4px solid #4040bf">Text here</div>
#4040bf Color on white background
This is how a font and box color of #4040bf will look
on a white background.
#4040bf Color on black background
This is how a font and box color of #4040bf hex color will look
on a black background.