In RGB color space, #0840d4 hex color has a red value of 8, a green value of 64 and a blue value of 212.
In CMYK color space (used in color printing), #0840d4 hex color is composed of 96.23% cyan, 69.81% magenta, 0% yellow and 16.86% black.
#0840d4 color has a hue of 223.5 degrees, a saturation of 92.73% and a lightness of 43.1%.
#0840d4 hex color contains mainly BLUE.
The closest web safe color of #0840d4 is #0033cc
#0840d4 hex color has a decimal value of 540884.
HEX | 0840d4 | #0840d4 |
---|---|---|
RGB | 8, 64, 212 | rgb(8, 64, 212) |
RGB Percent | 3.14, 25.1, 83.14 | rgb(3.14, 25.1, 83.14) |
CMYK | 96, 70, 0, 17 | |
HSL | 223.5°, 92.73, 43.1 | hsl(223.5, 92.73%, 43.1%) |
HSV | 223.5°, 96.2, 83.1 |
XYZ | 13.817, 8.472, 63.194 |
---|---|
Hunter Lab | 29.107, 33.798, -108.351 |
CIE-LAB | 34.947, 43.303, -78.988 |
CIE-LCH | 34.947, 90.079, 298.733 |
CIE-LUV | 96.23, 69.81, 0, 16.86 |
Web Safe | 0033cc |
RGB percent of color #0840d4
CMYK percent of color #0840d4
Text with hexadecimal color #0840d4
This text has a font color of #0840d4
<p style="color:#0840d4">Text here</p>
#0840d4 Background Color
This box has a background color of #0840d4
<div style="background-color:#0840d4">Text here</div>
#0840d4 Border Color
This box has a border color of #0840d4
<div style="border: 4px solid #0840d4">Text here</div>
CSS codes
<p style="color:#0840d4">Text here</p>
<div style="background-color:#0840d4">Text here</div>
<div style="border: 4px solid #0840d4">Text here</div>
#0840d4 Color on white background
This is how a font and box color of #0840d4 will look
on a white background.
#0840d4 Color on black background
This is how a font and box color of #0840d4 hex color will look
on a black background.