In RGB color space, #2d1fa8 hex color has a red value of 45, a green value of 31 and a blue value of 168.
In CMYK color space (used in color printing), #2d1fa8 hex color is composed of 73.21% cyan, 81.55% magenta, 0% yellow and 34.12% black.
#2d1fa8 color has a hue of 246.1 degrees, a saturation of 68.84% and a lightness of 39%.
#2d1fa8 hex color contains mainly BLUE.
The closest web safe color of #2d1fa8 is #333399
#2d1fa8 hex color has a decimal value of 2957224.
HEX | 2d1fa8 | #2d1fa8 |
---|---|---|
RGB | 45, 31, 168 | rgb(45, 31, 168) |
RGB Percent | 17.65, 12.16, 65.88 | rgb(17.65, 12.16, 65.88) |
CMYK | 73, 82, 0, 34 | |
HSL | 246.1°, 68.84, 39 | hsl(246.1, 68.84%, 39%) |
HSV | 246.1°, 81.5, 65.9 |
XYZ | 8.64, 4.365, 37.433 |
---|---|
Hunter Lab | 20.893, 37.256, -91.604 |
CIE-LAB | 24.843, 48.769, -69.688 |
CIE-LCH | 24.843, 85.058, 304.985 |
CIE-LUV | 73.21, 81.55, 0, 34.12 |
Web Safe | 333399 |
RGB percent of color #2d1fa8
CMYK percent of color #2d1fa8
Text with hexadecimal color #2d1fa8
This text has a font color of #2d1fa8
<p style="color:#2d1fa8">Text here</p>
#2d1fa8 Background Color
This box has a background color of #2d1fa8
<div style="background-color:#2d1fa8">Text here</div>
#2d1fa8 Border Color
This box has a border color of #2d1fa8
<div style="border: 4px solid #2d1fa8">Text here</div>
CSS codes
<p style="color:#2d1fa8">Text here</p>
<div style="background-color:#2d1fa8">Text here</div>
<div style="border: 4px solid #2d1fa8">Text here</div>
#2d1fa8 Color on white background
This is how a font and box color of #2d1fa8 will look
on a white background.
#2d1fa8 Color on black background
This is how a font and box color of #2d1fa8 hex color will look
on a black background.