In RGB color space, #3040ff hex color has a red value of 48, a green value of 64 and a blue value of 255.
In CMYK color space (used in color printing), #3040ff hex color is composed of 81.18% cyan, 74.9% magenta, 0% yellow and 0% black.
#3040ff color has a hue of 235.4 degrees, a saturation of 100% and a lightness of 59.4%.
#3040ff hex color contains mainly BLUE.
The closest web safe color of #3040ff is #3333ff
#3040ff hex color has a decimal value of 3162367.
HEX | 3040ff | #3040ff |
---|---|---|
RGB | 48, 64, 255 | rgb(48, 64, 255) |
RGB Percent | 18.82, 25.1, 100 | rgb(18.82, 25.1, 100) |
CMYK | 81, 75, 0, 0 | |
HSL | 235.4°, 100, 59.4 | hsl(235.4, 100%, 59.4%) |
HSV | 235.4°, 81.2, 100 |
XYZ | 21.102, 11.515, 95.718 |
---|---|
Hunter Lab | 33.934, 51.618, -143.487 |
CIE-LAB | 40.435, 59.507, -94.29 |
CIE-LCH | 40.435, 111.497, 302.256 |
CIE-LUV | 81.18, 74.9, 0, 0 |
Web Safe | 3333ff |
RGB percent of color #3040ff
CMYK percent of color #3040ff
Text with hexadecimal color #3040ff
This text has a font color of #3040ff
<p style="color:#3040ff">Text here</p>
#3040ff Background Color
This box has a background color of #3040ff
<div style="background-color:#3040ff">Text here</div>
#3040ff Border Color
This box has a border color of #3040ff
<div style="border: 4px solid #3040ff">Text here</div>
CSS codes
<p style="color:#3040ff">Text here</p>
<div style="background-color:#3040ff">Text here</div>
<div style="border: 4px solid #3040ff">Text here</div>
#3040ff Color on white background
This is how a font and box color of #3040ff will look
on a white background.
#3040ff Color on black background
This is how a font and box color of #3040ff hex color will look
on a black background.