In RGB color space, #3040a7 hex color has a red value of 48, a green value of 64 and a blue value of 167.
In CMYK color space (used in color printing), #3040a7 hex color is composed of 71.26% cyan, 61.68% magenta, 0% yellow and 34.51% black.
#3040a7 color has a hue of 231.9 degrees, a saturation of 55.35% and a lightness of 42.2%.
#3040a7 hex color contains mainly BLUE.
The closest web safe color of #3040a7 is #333399
#3040a7 hex color has a decimal value of 3162279.
HEX | 3040a7 | #3040a7 |
---|---|---|
RGB | 48, 64, 167 | rgb(48, 64, 167) |
RGB Percent | 18.82, 25.1, 65.49 | rgb(18.82, 25.1, 65.49) |
CMYK | 71, 62, 0, 35 | |
HSL | 231.9°, 55.35, 42.2 | hsl(231.9, 55.35%, 42.2%) |
HSV | 231.9°, 71.3, 65.5 |
XYZ | 10.027, 7.085, 37.398 |
---|---|
Hunter Lab | 26.618, 20.661, -64.67 |
CIE-LAB | 32, 29.36, -57.306 |
CIE-LCH | 32, 64.389, 297.128 |
CIE-LUV | 71.26, 61.68, 0, 34.51 |
Web Safe | 333399 |
RGB percent of color #3040a7
CMYK percent of color #3040a7
Text with hexadecimal color #3040a7
This text has a font color of #3040a7
<p style="color:#3040a7">Text here</p>
#3040a7 Background Color
This box has a background color of #3040a7
<div style="background-color:#3040a7">Text here</div>
#3040a7 Border Color
This box has a border color of #3040a7
<div style="border: 4px solid #3040a7">Text here</div>
CSS codes
<p style="color:#3040a7">Text here</p>
<div style="background-color:#3040a7">Text here</div>
<div style="border: 4px solid #3040a7">Text here</div>
#3040a7 Color on white background
This is how a font and box color of #3040a7 will look
on a white background.
#3040a7 Color on black background
This is how a font and box color of #3040a7 hex color will look
on a black background.