Color Hex Logo

#1f3398 Color Hex

#1F3398
(31,51,152)
0 Favorites   0 Comments

Color spaces of #1f3398

RGB 3151152
HSL0.640.660.36
HSV230°80°60°
CMYK 0.800.660.00   0.40
XYZ7.41644.926030.2657
Yxy4.92600.17410.1156
Hunter Lab22.194620.8059-65.3147
CIE-Lab26.522930.3709-57.2096

#1f3398 color RGB value is (31,51,152).

#1f3398 hex color red value is 31, green value is 51 and the blue value of its RGB is 152. Cylindrical-coordinate representations (also known as HSL) of color #1f3398 hue: 0.64 , saturation: 0.66 and the lightness value of 1f3398 is 0.36.

The process color (four color CMYK) of #1f3398 color hex is 0.80, 0.66, 0.00, 0.40. Web safe color of #1f3398 is #333399. Color #1f3398 contains mainly BLUE color.

Base Numbers

BaseRedGreenBlue
Binary 00011111 00110011 10011000
Octal 37 63 230
Decimal 31 51 152
Hex 1F 33 98

RGB Percentages of Color #1f3398

%13.25
%21.79
%64.96

CMYK Percentages of Color #1f3398

%80
%66
%0
%40

Triadic Colors of #1f3398

#1f3398 #981f33 #33981f

Analogous Colors of #1f3398

#1f3398 #481f98 #1f7098

Monochromatic Colors of #1f3398

#1f3398

Complementary Color

#1f3398 #98841f

#1f3398 Color Preview on Black Background

Lorem ipsum dolor sit amet.

#1f3398 Color Preview on White Background

Lorem ipsum dolor sit amet.

#1f3398 Color CSS Codes

.mybgcolor {background-color:#1f3398; } 
.myforecolor {color:#1f3398; }
.mybordercolor {border:3px solid #1f3398; }

#1f3398 Text Font Color

<p style="color:#1f3398">Text here</p>

This sample text font color is #1f3398
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


#1f3398 Background Color

<div style="background-color:#1f3398">
Div content here</div>

This div background color is #1f3398


#1f3398 Border Color

<div style="border:3px solid #1f3398">
Div here</div>

This div border color is #1f3398


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(31,51,152, 0.8); } 
.textShadowHex { 
  text-shadow: 4px 4px 2px #1f3398; }
.divShadow { 
  -moz-box-shadow: 1px 1px 3px 2px #1f3398;
  -webkit-box-shadow: 1px 1px 3px 2px #1f3398;
  box-shadow:         1px 1px 3px 2px #1f3398; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(31,51,152, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #1f3398">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<div style="-moz-box-shadow: 1px 1px 3px 2px #1f3398;
  -webkit-box-shadow: 1px 1px 3px 2px #1f3398;
  box-shadow:         1px 1px 3px 2px #1f3398;">
Div content here</div>

This div box has shadow with color #1f3398


Comments

No comments written yet.

Please login to write comment.