In RGB color space, #0240b1 hex color has a red value of 2, a green value of 64 and a blue value of 177.
In CMYK color space (used in color printing), #0240b1 hex color is composed of 98.87% cyan, 63.84% magenta, 0% yellow and 30.59% black.
#0240b1 color has a hue of 218.7 degrees, a saturation of 97.77% and a lightness of 35.1%.
#0240b1 hex color contains mainly BLUE.
The closest web safe color of #0240b1 is #003399
#0240b1 hex color has a decimal value of 147633.
HEX | 0240b1 | #0240b1 |
---|---|---|
RGB | 2, 64, 177 | rgb(2, 64, 177) |
RGB Percent | 0.78, 25.1, 69.41 | rgb(0.78, 25.1, 69.41) |
CMYK | 99, 64, 0, 31 | |
HSL | 218.7°, 97.77, 35.1 | hsl(218.7, 97.77%, 35.1%) |
HSV | 218.7°, 98.9, 69.4 |
XYZ | 9.794, 6.854, 42.402 |
---|---|
Hunter Lab | 26.18, 20.962, -77.701 |
CIE-LAB | 31.472, 29.789, -64.203 |
CIE-LCH | 31.472, 70.777, 294.89 |
CIE-LUV | 98.87, 63.84, 0, 30.59 |
Web Safe | 003399 |
RGB percent of color #0240b1
CMYK percent of color #0240b1
Text with hexadecimal color #0240b1
This text has a font color of #0240b1
<p style="color:#0240b1">Text here</p>
#0240b1 Background Color
This box has a background color of #0240b1
<div style="background-color:#0240b1">Text here</div>
#0240b1 Border Color
This box has a border color of #0240b1
<div style="border: 4px solid #0240b1">Text here</div>
CSS codes
<p style="color:#0240b1">Text here</p>
<div style="background-color:#0240b1">Text here</div>
<div style="border: 4px solid #0240b1">Text here</div>
#0240b1 Color on white background
This is how a font and box color of #0240b1 will look
on a white background.
#0240b1 Color on black background
This is how a font and box color of #0240b1 hex color will look
on a black background.