In RGB color space, #1f2a9a hex color has a red value of 31, a green value of 42 and a blue value of 154.
In CMYK color space (used in color printing), #1f2a9a hex color is composed of 79.87% cyan, 72.73% magenta, 0% yellow and 39.61% black.
#1f2a9a color has a hue of 234.6 degrees, a saturation of 66.49% and a lightness of 36.3%.
#1f2a9a hex color contains mainly BLUE.
The closest web safe color of #1f2a9a is #333399
#1f2a9a hex color has a decimal value of 2042522.
HEX | 1f2a9a | #1f2a9a |
---|---|---|
RGB | 31, 42, 154 | rgb(31, 42, 154) |
RGB Percent | 12.16, 16.47, 60.39 | rgb(12.16, 16.47, 60.39) |
CMYK | 80, 73, 0, 40 | |
HSL | 234.6°, 66.49, 36.3 | hsl(234.6, 66.49%, 36.3%) |
HSV | 234.6°, 79.9, 60.4 |
XYZ | 7.226, 4.28, 31.017 |
---|---|
Hunter Lab | 20.688, 26.143, -74.41 |
CIE-LAB | 24.576, 36.917, -61.637 |
CIE-LCH | 24.576, 71.847, 300.919 |
CIE-LUV | 79.87, 72.73, 0, 39.61 |
Web Safe | 333399 |
RGB percent of color #1f2a9a
CMYK percent of color #1f2a9a
Text with hexadecimal color #1f2a9a
This text has a font color of #1f2a9a
<p style="color:#1f2a9a">Text here</p>
#1f2a9a Background Color
This box has a background color of #1f2a9a
<div style="background-color:#1f2a9a">Text here</div>
#1f2a9a Border Color
This box has a border color of #1f2a9a
<div style="border: 4px solid #1f2a9a">Text here</div>
CSS codes
<p style="color:#1f2a9a">Text here</p>
<div style="background-color:#1f2a9a">Text here</div>
<div style="border: 4px solid #1f2a9a">Text here</div>
#1f2a9a Color on white background
This is how a font and box color of #1f2a9a will look
on a white background.
#1f2a9a Color on black background
This is how a font and box color of #1f2a9a hex color will look
on a black background.