Shades of Midnight Blue #1F1868
Tints of Midnight Blue #1F1868
RGB
CMYK
RGB Variations
Color information
#1F1868 (or 0x1F1868) is known color: Midnight Blue. HEX triplet: 1F, 18 and 68. RGB value is (31,24,104). Sum of RGB (Red+Green+Blue) = 31+24+104=159 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.50% from 159); Green value is 24 (9.77% from 255 or 15.09% from 159); Blue value is 104 (41.02% from 255 or 65.41% from 159); Max value from RGB is 104 - color contains mainly: blue. Hex color #1F1868 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1868 is #E0E797. Grayscale: #222222. Windows color (decimal): -14739352 or 6821919. OLE color: 6821919.
HSL color Cylindrical-coordinate representation of color #1F1868: hue angle of 245.25º degrees, saturation: 0.62, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.41% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F1868 is Cyan = 0.70, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.59.
Color convert
| RGB | 31 | 24 | 104 | - |
| CMYK | 0.70 | 0.77 | 0 | 0.59 |
| HSL | 245.25º | 0.63% | 0.25% | - |
| HSV(B) | 245.25º | 0.77% | 0.41% | - |
| XYZ | 3.39 | 1.94 | 13.29 | - |
| YUV | 35.21 | 166.82 | 125 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 24 | 104 | 0.70 | 0.77 | 0 | 0.59 | 245.25 | 0.63 | 0.25 |
| Hex | 1F | 18 | 68 | 46 | 4D | 0 | 3B | F5 | 3E | 19 |
| Octal | 37 | 30 | 150 | 106 | 115 | 0 | 73 | 365 | 76 | 31 |
| Binary | 11111 | 11000 | 1101000 | 1000110 | 1001101 | 0 | 111011 | 11110101 | 111110 | 11001 |
Color Harmonies of #1F1868
Complementary color
Monochromatic Colors of #1F1868
Black with #1F1868
Text Example
Text Example
White with #1F1868
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1868; }
p { color: rgb(31,24,104); }
H1.HeaderClassName
{
color: #1F1868;
}
.AnyTagClassName
{
color: #1F1868;
}
</style>
background-color css
<style>
a { background-color: #1F1868; }
a { background-color: rgb(31,24,104); }
div.DivClassName
{
background-color: #1F1868;
}
.BgClassName
{
background-color: #1F1868;
}
</style>
border-color css
<style>
span { border-color: #1F1868; }
span { border-color: rgb(31,24,104); }
td.TdClassName
{
border-color: #1F1868;
}
.TagClassName
{
border-color: #1F1868;
}
</style>