In RGB color space, #0240ab hex color has a red value of 2, a green value of 64 and a blue value of 171.
In CMYK color space (used in color printing), #0240ab hex color is composed of 98.83% cyan, 62.57% magenta, 0% yellow and 32.94% black.
#0240ab color has a hue of 218 degrees, a saturation of 97.69% and a lightness of 33.9%.
#0240ab hex color contains mainly BLUE.
The closest web safe color of #0240ab is #003399
#0240ab hex color has a decimal value of 147627.
HEX | 0240ab | #0240ab |
---|---|---|
RGB | 2, 64, 171 | rgb(2, 64, 171) |
RGB Percent | 0.78, 25.1, 67.06 | rgb(0.78, 25.1, 67.06) |
CMYK | 99, 63, 0, 33 | |
HSL | 218°, 97.69, 33.9 | hsl(218, 97.69%, 33.9%) |
HSV | 218°, 98.8, 67.1 |
XYZ | 9.209, 6.62, 39.32 |
---|---|
Hunter Lab | 25.729, 18.862, -72.597 |
CIE-LAB | 30.926, 27.381, -61.517 |
CIE-LCH | 30.926, 67.335, 293.994 |
CIE-LUV | 98.83, 62.57, 0, 32.94 |
Web Safe | 003399 |
RGB percent of color #0240ab
CMYK percent of color #0240ab
Text with hexadecimal color #0240ab
This text has a font color of #0240ab
<p style="color:#0240ab">Text here</p>
#0240ab Background Color
This box has a background color of #0240ab
<div style="background-color:#0240ab">Text here</div>
#0240ab Border Color
This box has a border color of #0240ab
<div style="border: 4px solid #0240ab">Text here</div>
CSS codes
<p style="color:#0240ab">Text here</p>
<div style="background-color:#0240ab">Text here</div>
<div style="border: 4px solid #0240ab">Text here</div>
#0240ab Color on white background
This is how a font and box color of #0240ab will look
on a white background.
#0240ab Color on black background
This is how a font and box color of #0240ab hex color will look
on a black background.