In RGB color space, #2a138b hex color has a red value of 42, a green value of 19 and a blue value of 139.
In CMYK color space (used in color printing), #2a138b hex color is composed of 69.78% cyan, 86.33% magenta, 0% yellow and 45.49% black.
#2a138b color has a hue of 251.5 degrees, a saturation of 75.95% and a lightness of 31%.
#2a138b hex color contains mainly BLUE.
The closest web safe color of #2a138b is #330099
#2a138b hex color has a decimal value of 2757515.
HEX | 2a138b | #2a138b |
---|---|---|
RGB | 42, 19, 139 | rgb(42, 19, 139) |
RGB Percent | 16.47, 7.45, 54.51 | rgb(16.47, 7.45, 54.51) |
CMYK | 70, 86, 0, 45 | |
HSL | 251.5°, 75.95, 31 | hsl(251.5, 75.95%, 31%) |
HSV | 251.5°, 86.3, 54.5 |
XYZ | 5.848, 2.822, 24.663 |
---|---|
Hunter Lab | 16.799, 32.741, -75.287 |
CIE-LAB | 19.316, 45.164, -61.025 |
CIE-LCH | 19.316, 75.92, 306.505 |
CIE-LUV | 69.78, 86.33, 0, 45.49 |
Web Safe | 330099 |
RGB percent of color #2a138b
CMYK percent of color #2a138b
Text with hexadecimal color #2a138b
This text has a font color of #2a138b
<p style="color:#2a138b">Text here</p>
#2a138b Background Color
This box has a background color of #2a138b
<div style="background-color:#2a138b">Text here</div>
#2a138b Border Color
This box has a border color of #2a138b
<div style="border: 4px solid #2a138b">Text here</div>
CSS codes
<p style="color:#2a138b">Text here</p>
<div style="background-color:#2a138b">Text here</div>
<div style="border: 4px solid #2a138b">Text here</div>
#2a138b Color on white background
This is how a font and box color of #2a138b will look
on a white background.
#2a138b Color on black background
This is how a font and box color of #2a138b hex color will look
on a black background.