Shades of Midnight Blue #1F186A
Tints of Midnight Blue #1F186A
RGB
CMYK
RGB Variations
Color information
#1F186A (or 0x1F186A) is known color: Midnight Blue. HEX triplet: 1F, 18 and 6A. RGB value is (31,24,106). Sum of RGB (Red+Green+Blue) = 31+24+106=161 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.25% from 161); Green value is 24 (9.77% from 255 or 14.91% from 161); Blue value is 106 (41.80% from 255 or 65.84% from 161); Max value from RGB is 106 - color contains mainly: blue. Hex color #1F186A is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F186A is #E0E795. Grayscale: #232323. Windows color (decimal): -14739350 or 6952991. OLE color: 6952991.
HSL color Cylindrical-coordinate representation of color #1F186A: hue angle of 245.12º degrees, saturation: 0.63, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F186A is Cyan = 0.71, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 24 | 106 | - |
| CMYK | 0.71 | 0.77 | 0 | 0.58 |
| HSL | 245.12º | 0.63% | 0.25% | - |
| HSV(B) | 245.12º | 0.77% | 0.42% | - |
| XYZ | 3.49 | 1.99 | 13.83 | - |
| YUV | 35.44 | 167.82 | 124.83 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 24 | 106 | 0.71 | 0.77 | 0 | 0.58 | 245.12 | 0.63 | 0.25 |
| Hex | 1F | 18 | 6A | 47 | 4D | 0 | 3A | F5 | 3F | 19 |
| Octal | 37 | 30 | 152 | 107 | 115 | 0 | 72 | 365 | 77 | 31 |
| Binary | 11111 | 11000 | 1101010 | 1000111 | 1001101 | 0 | 111010 | 11110101 | 111111 | 11001 |
Color Harmonies of #1F186A
Complementary color
Monochromatic Colors of #1F186A
Black with #1F186A
Text Example
Text Example
White with #1F186A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F186A; }
p { color: rgb(31,24,106); }
H1.HeaderClassName
{
color: #1F186A;
}
.AnyTagClassName
{
color: #1F186A;
}
</style>
background-color css
<style>
a { background-color: #1F186A; }
a { background-color: rgb(31,24,106); }
div.DivClassName
{
background-color: #1F186A;
}
.BgClassName
{
background-color: #1F186A;
}
</style>
border-color css
<style>
span { border-color: #1F186A; }
span { border-color: rgb(31,24,106); }
td.TdClassName
{
border-color: #1F186A;
}
.TagClassName
{
border-color: #1F186A;
}
</style>