Shades of Midnight Blue #1F1580
Tints of Midnight Blue #1F1580
RGB
CMYK
RGB Variations
Color information
#1F1580 (or 0x1F1580) is known color: Midnight Blue. HEX triplet: 1F, 15 and 80. RGB value is (31,21,128). Sum of RGB (Red+Green+Blue) = 31+21+128=180 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.22% from 180); Green value is 21 (8.59% from 255 or 11.67% from 180); Blue value is 128 (50.39% from 255 or 71.11% from 180); Max value from RGB is 128 - color contains mainly: blue. Hex color #1F1580 is not a web safe color. Web safe color analog (approx): #330099. Inversed color of #1F1580 is #E0EA7F. Grayscale: #232323. Windows color (decimal): -14740096 or 8394015. OLE color: 8394015.
HSL color Cylindrical-coordinate representation of color #1F1580: hue angle of 245.61º degrees, saturation: 0.72, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #1F1580 is Cyan = 0.76, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 21 | 128 | - |
| CMYK | 0.76 | 0.84 | 0 | 0.50 |
| HSL | 245.61º | 0.72% | 0.29% | - |
| HSV(B) | 245.61º | 0.84% | 0.5% | - |
| XYZ | 4.73 | 2.39 | 20.63 | - |
| YUV | 36.19 | 179.81 | 124.3 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 21 | 128 | 0.76 | 0.84 | 0 | 0.50 | 245.61 | 0.72 | 0.29 |
| Hex | 1F | 15 | 80 | 4C | 54 | 0 | 32 | F6 | 48 | 1D |
| Octal | 37 | 25 | 200 | 114 | 124 | 0 | 62 | 366 | 110 | 35 |
| Binary | 11111 | 10101 | 10000000 | 1001100 | 1010100 | 0 | 110010 | 11110110 | 1001000 | 11101 |
Color Harmonies of #1F1580
Complementary color
Monochromatic Colors of #1F1580
Black with #1F1580
Text Example
Text Example
White with #1F1580
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1580; }
p { color: rgb(31,21,128); }
H1.HeaderClassName
{
color: #1F1580;
}
.AnyTagClassName
{
color: #1F1580;
}
</style>
background-color css
<style>
a { background-color: #1F1580; }
a { background-color: rgb(31,21,128); }
div.DivClassName
{
background-color: #1F1580;
}
.BgClassName
{
background-color: #1F1580;
}
</style>
border-color css
<style>
span { border-color: #1F1580; }
span { border-color: rgb(31,21,128); }
td.TdClassName
{
border-color: #1F1580;
}
.TagClassName
{
border-color: #1F1580;
}
</style>