In RGB color space, #335ea1 hex color has a red value of 51, a green value of 94 and a blue value of 161.
In CMYK color space (used in color printing), #335ea1 hex color is composed of 68.32% cyan, 41.61% magenta, 0% yellow and 36.86% black.
#335ea1 color has a hue of 216.5 degrees, a saturation of 51.89% and a lightness of 41.6%.
#335ea1 hex color contains mainly BLUE.
The closest web safe color of #335ea1 is #336699
#335ea1 hex color has a decimal value of 3366561.
HEX | 335ea1 | #335ea1 |
---|---|---|
RGB | 51, 94, 161 | rgb(51, 94, 161) |
RGB Percent | 20, 36.86, 63.14 | rgb(20, 36.86, 63.14) |
CMYK | 68, 42, 0, 37 | |
HSL | 216.5°, 51.89, 41.6 | hsl(216.5, 51.89%, 41.6%) |
HSV | 216.5°, 68.3, 63.1 |
XYZ | 11.801, 11.282, 35.274 |
---|---|
Hunter Lab | 33.589, 3.934, -38.753 |
CIE-LAB | 40.051, 7.838, -40.72 |
CIE-LCH | 40.051, 41.467, 280.895 |
CIE-LUV | 68.32, 41.61, 0, 36.86 |
Web Safe | 336699 |
RGB percent of color #335ea1
CMYK percent of color #335ea1
Text with hexadecimal color #335ea1
This text has a font color of #335ea1
<p style="color:#335ea1">Text here</p>
#335ea1 Background Color
This box has a background color of #335ea1
<div style="background-color:#335ea1">Text here</div>
#335ea1 Border Color
This box has a border color of #335ea1
<div style="border: 4px solid #335ea1">Text here</div>
CSS codes
<p style="color:#335ea1">Text here</p>
<div style="background-color:#335ea1">Text here</div>
<div style="border: 4px solid #335ea1">Text here</div>
#335ea1 Color on white background
This is how a font and box color of #335ea1 will look
on a white background.
#335ea1 Color on black background
This is how a font and box color of #335ea1 hex color will look
on a black background.