Shades of Midnight Blue #1F176A
Tints of Midnight Blue #1F176A
RGB
CMYK
RGB Variations
Color information
#1F176A (or 0x1F176A) is known color: Midnight Blue. HEX triplet: 1F, 17 and 6A. RGB value is (31,23,106). Sum of RGB (Red+Green+Blue) = 31+23+106=160 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.38% from 160); Green value is 23 (9.38% from 255 or 14.38% from 160); Blue value is 106 (41.80% from 255 or 66.25% from 160); Max value from RGB is 106 - color contains mainly: blue. Hex color #1F176A is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F176A is #E0E895. Grayscale: #222222. Windows color (decimal): -14739606 or 6952735. OLE color: 6952735.
HSL color Cylindrical-coordinate representation of color #1F176A: hue angle of 245.78º degrees, saturation: 0.64, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F176A is Cyan = 0.71, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 23 | 106 | - |
| CMYK | 0.71 | 0.78 | 0 | 0.58 |
| HSL | 245.78º | 0.64% | 0.25% | - |
| HSV(B) | 245.78º | 0.78% | 0.42% | - |
| XYZ | 3.47 | 1.94 | 13.83 | - |
| YUV | 34.85 | 168.15 | 125.25 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 23 | 106 | 0.71 | 0.78 | 0 | 0.58 | 245.78 | 0.64 | 0.25 |
| Hex | 1F | 17 | 6A | 47 | 4E | 0 | 3A | F6 | 40 | 19 |
| Octal | 37 | 27 | 152 | 107 | 116 | 0 | 72 | 366 | 100 | 31 |
| Binary | 11111 | 10111 | 1101010 | 1000111 | 1001110 | 0 | 111010 | 11110110 | 1000000 | 11001 |
Color Harmonies of #1F176A
Complementary color
Monochromatic Colors of #1F176A
Black with #1F176A
Text Example
Text Example
White with #1F176A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F176A; }
p { color: rgb(31,23,106); }
H1.HeaderClassName
{
color: #1F176A;
}
.AnyTagClassName
{
color: #1F176A;
}
</style>
background-color css
<style>
a { background-color: #1F176A; }
a { background-color: rgb(31,23,106); }
div.DivClassName
{
background-color: #1F176A;
}
.BgClassName
{
background-color: #1F176A;
}
</style>
border-color css
<style>
span { border-color: #1F176A; }
span { border-color: rgb(31,23,106); }
td.TdClassName
{
border-color: #1F176A;
}
.TagClassName
{
border-color: #1F176A;
}
</style>