In RGB color space, #021257 hex color has a red value of 2, a green value of 18 and a blue value of 87.
In CMYK color space (used in color printing), #021257 hex color is composed of 97.7% cyan, 79.31% magenta, 0% yellow and 65.88% black.
#021257 color has a hue of 228.7 degrees, a saturation of 95.51% and a lightness of 17.5%.
#021257 hex color contains mainly BLUE.
The closest web safe color of #021257 is #000066
#021257 hex color has a decimal value of 135767.
HEX | 021257 | #021257 |
---|---|---|
RGB | 2, 18, 87 | rgb(2, 18, 87) |
RGB Percent | 0.78, 7.06, 34.12 | rgb(0.78, 7.06, 34.12) |
CMYK | 98, 79, 0, 66 | |
HSL | 228.7°, 95.51, 17.5 | hsl(228.7, 95.51%, 17.5%) |
HSV | 228.7°, 97.7, 34.1 |
XYZ | 1.962, 1.134, 9.132 |
---|---|
Hunter Lab | 10.649, 14.252, -43.39 |
CIE-LAB | 10.061, 24.826, -42.612 |
CIE-LCH | 10.061, 49.316, 300.225 |
CIE-LUV | 97.7, 79.31, 0, 65.88 |
Web Safe | 000066 |
RGB percent of color #021257
CMYK percent of color #021257
Text with hexadecimal color #021257
This text has a font color of #021257
<p style="color:#021257">Text here</p>
#021257 Background Color
This box has a background color of #021257
<div style="background-color:#021257">Text here</div>
#021257 Border Color
This box has a border color of #021257
<div style="border: 4px solid #021257">Text here</div>
CSS codes
<p style="color:#021257">Text here</p>
<div style="background-color:#021257">Text here</div>
<div style="border: 4px solid #021257">Text here</div>
#021257 Color on white background
This is how a font and box color of #021257 will look
on a white background.
#021257 Color on black background
This is how a font and box color of #021257 hex color will look
on a black background.