Shades of Midnight Blue #1F207E
Tints of Midnight Blue #1F207E
RGB
CMYK
RGB Variations
Color information
#1F207E (or 0x1F207E) is known color: Midnight Blue. HEX triplet: 1F, 20 and 7E. RGB value is (31,32,126). Sum of RGB (Red+Green+Blue) = 31+32+126=189 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.40% from 189); Green value is 32 (12.89% from 255 or 16.93% from 189); Blue value is 126 (49.61% from 255 or 66.67% from 189); Max value from RGB is 126 - color contains mainly: blue. Hex color #1F207E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F207E is #E0DF81. Grayscale: #2A2A2A. Windows color (decimal): -14737282 or 8265759. OLE color: 8265759.
HSL color Cylindrical-coordinate representation of color #1F207E: hue angle of 239.37º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F207E is Cyan = 0.75, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 32 | 126 | - |
| CMYK | 0.75 | 0.75 | 0 | 0.51 |
| HSL | 239.37º | 0.61% | 0.31% | - |
| HSV(B) | 239.37º | 0.75% | 0.49% | - |
| XYZ | 4.85 | 2.83 | 20.03 | - |
| YUV | 42.42 | 175.17 | 119.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 32 | 126 | 0.75 | 0.75 | 0 | 0.51 | 239.37 | 0.61 | 0.31 |
| Hex | 1F | 20 | 7E | 4B | 4B | 0 | 33 | EF | 3D | 1F |
| Octal | 37 | 40 | 176 | 113 | 113 | 0 | 63 | 357 | 75 | 37 |
| Binary | 11111 | 100000 | 1111110 | 1001011 | 1001011 | 0 | 110011 | 11101111 | 111101 | 11111 |
Color Harmonies of #1F207E
Complementary color
Monochromatic Colors of #1F207E
Black with #1F207E
Text Example
Text Example
White with #1F207E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F207E; }
p { color: rgb(31,32,126); }
H1.HeaderClassName
{
color: #1F207E;
}
.AnyTagClassName
{
color: #1F207E;
}
</style>
background-color css
<style>
a { background-color: #1F207E; }
a { background-color: rgb(31,32,126); }
div.DivClassName
{
background-color: #1F207E;
}
.BgClassName
{
background-color: #1F207E;
}
</style>
border-color css
<style>
span { border-color: #1F207E; }
span { border-color: rgb(31,32,126); }
td.TdClassName
{
border-color: #1F207E;
}
.TagClassName
{
border-color: #1F207E;
}
</style>