Shades of Midnight Blue #1F186D
Tints of Midnight Blue #1F186D
RGB
CMYK
RGB Variations
Color information
#1F186D (or 0x1F186D) is known color: Midnight Blue. HEX triplet: 1F, 18 and 6D. RGB value is (31,24,109). Sum of RGB (Red+Green+Blue) = 31+24+109=164 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.90% from 164); Green value is 24 (9.77% from 255 or 14.63% from 164); Blue value is 109 (42.97% from 255 or 66.46% from 164); Max value from RGB is 109 - color contains mainly: blue. Hex color #1F186D is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F186D is #E0E792. Grayscale: #232323. Windows color (decimal): -14739347 or 7149599. OLE color: 7149599.
HSL color Cylindrical-coordinate representation of color #1F186D: hue angle of 244.94º degrees, saturation: 0.64, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F186D is Cyan = 0.72, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 31 | 24 | 109 | - |
| CMYK | 0.72 | 0.78 | 0 | 0.57 |
| HSL | 244.94º | 0.64% | 0.26% | - |
| HSV(B) | 244.94º | 0.78% | 0.43% | - |
| XYZ | 3.65 | 2.05 | 14.67 | - |
| YUV | 35.78 | 169.32 | 124.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 24 | 109 | 0.72 | 0.78 | 0 | 0.57 | 244.94 | 0.64 | 0.26 |
| Hex | 1F | 18 | 6D | 48 | 4E | 0 | 39 | F5 | 40 | 1A |
| Octal | 37 | 30 | 155 | 110 | 116 | 0 | 71 | 365 | 100 | 32 |
| Binary | 11111 | 11000 | 1101101 | 1001000 | 1001110 | 0 | 111001 | 11110101 | 1000000 | 11010 |
Color Harmonies of #1F186D
Complementary color
Monochromatic Colors of #1F186D
Black with #1F186D
Text Example
Text Example
White with #1F186D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F186D; }
p { color: rgb(31,24,109); }
H1.HeaderClassName
{
color: #1F186D;
}
.AnyTagClassName
{
color: #1F186D;
}
</style>
background-color css
<style>
a { background-color: #1F186D; }
a { background-color: rgb(31,24,109); }
div.DivClassName
{
background-color: #1F186D;
}
.BgClassName
{
background-color: #1F186D;
}
</style>
border-color css
<style>
span { border-color: #1F186D; }
span { border-color: rgb(31,24,109); }
td.TdClassName
{
border-color: #1F186D;
}
.TagClassName
{
border-color: #1F186D;
}
</style>