#1F158B Information

#1F158B color RGB value is (31 , 21 , 139) , HEX triplet: 1f, 15 and 8b. RGB value is (31 , 21 , 139). Sum of RGB (Red+Green+Blue) = 31+21+139=191 (Red value is 31 (12.16% from 255 or 14.42% from 215); Green value is 21 (8.24% from 255 or 9.77% from 215); Blue value is 139 (54.51% from 255 or 64.65% from 215); Max value from RGB is 139 - color contains mainly: Blue . Cylindrical-coordinate representations (also known as HSL) of color #1F158B hue: 0.68 , saturation: 0.74 and the lightness value of 1f158b is 0.31.

#1f158b
(31 , 21 , 139)
  • R (31)
  • G (21)
  • B (139)
  • C (42.35)
  • M (46.27)
  • Y (0)
  • K (45.49)

Applying the #1f158b

You are awesome !

If you don't really have a dream, you can't really push yourself you don't really know what the target is.

Color spaces of #1f158b

Type Values
RGB 31 21 139
HSL 0.68 0.74 0.31
HSV 245 85 55
CMYK 42.35 46.27 0 45.49
XYZ 5.4934 2.6917 24.6561
Hunter Lab 16.4065 31.0566 -77.5856
CIE-Lab 18.7644 43.4714 -61.9655

Base Numbers

BaseRedGreenBlue
Decimal 31 21 139
Binary 11111 10101 10001011
Octal 37 25 213
Hex 1F 15 8B

Monochromatic Colors

Triadic Colors

Analogous Colors

Complementary Colors

Related Colors

#1f158b Preview on Black Background

You are Awesome !!

Gradient Power

  • Monochromatic Gradient

  • Triadic Gradient

  • Analogous Gradient

  • Related Color Gradient

#1F158B Color CSS Codes

You are Awesome !!

Text Color Example

<p style="color:#1f158b">Text here</p>
                                    
You are Awesome !!

Background Color Example

<p style="background:#1f158b">Text here</p>
                                    
You are Awesome !!

Border Color Example

<p style="border:2px solid #1f158b">You are Awesome</p>
                                    
You are Awesome !!

Box & Text Shadow Color Example

<p style="text-shadow: 1px 1px 1px #1f158b;
box-shadow: 1px 1px 4px #1f158b">You are Awesome</p>