#1f1f8c color RGB value is (31,31,140)
#1f1f8c color CMYK value
#1f1f8c color HSL value
HSV(or HSB) | 240° | 77.9 | 54.9 |
XYZ | 5.789 | 3.165 | 25.117 |
Yxy | 0.17 | 0.093 | 3.165 |
LAB | 20.692 | 38.566 | -59.397 |
LUV | 20.692 | -4.788 | -66.407 |
Hunter-LAB | 17.79 | 26.951 | -71.257 |
CIE-LCH | 20.692 | 70.819 | 302.996 |
Base | Red | Green | Blue |
---|---|---|---|
Hex | 1F | 1F | 8C |
Decimal | 31 | 31 | 140 |
Octal | 37 | 37 | 214 |
Binary | 00011111 | 00011111 | 10001100 |
Below, you can see some colors close to #1f1f8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
This text has a font color of #1f1f8c.
<span style="color:#1f1f8c">Text here</span>
This paragraph has a background color of #1f1f8c.
<p style="background-color:#1f1f8c;">Content here</p>
This element has a border color of #1f1f8c.
<div style="border:1px #1f1f8c;">Content here</div>
.text {color:#1f1f8c;}
.background {background-color:#1f1f8c;}
.border {border:1px solid #1f1f8c;}
.text-shadow {border:1px solid #1f1f8c;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #000001 is the darkest color, while #eeeefb is the lightest one.