In RGB color space, #031ea2 hex color has a red value of 3, a green value of 30 and a blue value of 162.
In CMYK color space (used in color printing), #031ea2 hex color is composed of 98.15% cyan, 81.48% magenta, 0% yellow and 36.47% black.
#031ea2 color has a hue of 229.8 degrees, a saturation of 96.36% and a lightness of 32.4%.
#031ea2 hex color contains mainly BLUE.
The closest web safe color of #031ea2 is #003399
#031ea2 hex color has a decimal value of 204450.
HEX | 031ea2 | #031ea2 |
---|---|---|
RGB | 3, 30, 162 | rgb(3, 30, 162) |
RGB Percent | 1.18, 11.76, 63.53 | rgb(1.18, 11.76, 63.53) |
CMYK | 98, 81, 0, 36 | |
HSL | 229.8°, 96.36, 32.4 | hsl(229.8, 96.36%, 32.4%) |
HSV | 229.8°, 98.1, 63.5 |
XYZ | 7.023, 3.557, 34.499 |
---|---|
Hunter Lab | 18.86, 33.464, -95.252 |
CIE-LAB | 22.149, 45.376, -70.572 |
CIE-LCH | 22.149, 83.901, 302.74 |
CIE-LUV | 98.15, 81.48, 0, 36.47 |
Web Safe | 003399 |
RGB percent of color #031ea2
CMYK percent of color #031ea2
Text with hexadecimal color #031ea2
This text has a font color of #031ea2
<p style="color:#031ea2">Text here</p>
#031ea2 Background Color
This box has a background color of #031ea2
<div style="background-color:#031ea2">Text here</div>
#031ea2 Border Color
This box has a border color of #031ea2
<div style="border: 4px solid #031ea2">Text here</div>
CSS codes
<p style="color:#031ea2">Text here</p>
<div style="background-color:#031ea2">Text here</div>
<div style="border: 4px solid #031ea2">Text here</div>
#031ea2 Color on white background
This is how a font and box color of #031ea2 will look
on a white background.
#031ea2 Color on black background
This is how a font and box color of #031ea2 hex color will look
on a black background.