In RGB color space, #3040a4 hex color has a red value of 48, a green value of 64 and a blue value of 164.
In CMYK color space (used in color printing), #3040a4 hex color is composed of 70.73% cyan, 60.98% magenta, 0% yellow and 35.69% black.
#3040a4 color has a hue of 231.7 degrees, a saturation of 54.72% and a lightness of 41.6%.
#3040a4 hex color contains mainly BLUE.
The closest web safe color of #3040a4 is #333399
#3040a4 hex color has a decimal value of 3162276.
HEX | 3040a4 | #3040a4 |
---|---|---|
RGB | 48, 64, 164 | rgb(48, 64, 164) |
RGB Percent | 18.82, 25.1, 64.31 | rgb(18.82, 25.1, 64.31) |
CMYK | 71, 61, 0, 36 | |
HSL | 231.7°, 54.72, 41.6 | hsl(231.7, 54.72%, 41.6%) |
HSV | 231.7°, 70.7, 64.3 |
XYZ | 9.753, 6.976, 35.954 |
---|---|
Hunter Lab | 26.412, 19.692, -62.221 |
CIE-LAB | 31.752, 28.255, -55.906 |
CIE-LCH | 31.752, 62.64, 296.812 |
CIE-LUV | 70.73, 60.98, 0, 35.69 |
Web Safe | 333399 |
RGB percent of color #3040a4
CMYK percent of color #3040a4
Text with hexadecimal color #3040a4
This text has a font color of #3040a4
<p style="color:#3040a4">Text here</p>
#3040a4 Background Color
This box has a background color of #3040a4
<div style="background-color:#3040a4">Text here</div>
#3040a4 Border Color
This box has a border color of #3040a4
<div style="border: 4px solid #3040a4">Text here</div>
CSS codes
<p style="color:#3040a4">Text here</p>
<div style="background-color:#3040a4">Text here</div>
<div style="border: 4px solid #3040a4">Text here</div>
#3040a4 Color on white background
This is how a font and box color of #3040a4 will look
on a white background.
#3040a4 Color on black background
This is how a font and box color of #3040a4 hex color will look
on a black background.