Shades of Midnight Blue #1F126C
Tints of Midnight Blue #1F126C
RGB
CMYK
RGB Variations
Color information
#1F126C (or 0x1F126C) is known color: Midnight Blue. HEX triplet: 1F, 12 and 6C. RGB value is (31,18,108). Sum of RGB (Red+Green+Blue) = 31+18+108=157 (20% of max value = 765). Red value is 31 (12.5% from 255 or 19.75% from 157); Green value is 18 (7.42% from 255 or 11.46% from 157); Blue value is 108 (42.58% from 255 or 68.79% from 157); Max value from RGB is 108 - color contains mainly: blue. Hex color #1F126C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F126C is #E0ED93. Grayscale: #1F1F1F. Windows color (decimal): -14740884 or 7082527. OLE color: 7082527.
HSL color Cylindrical-coordinate representation of color #1F126C: hue angle of 248.67º degrees, saturation: 0.71, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #1F126C is Cyan = 0.71, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 18 | 108 | - |
| CMYK | 0.71 | 0.83 | 0 | 0.58 |
| HSL | 248.67º | 0.71% | 0.25% | - |
| HSV(B) | 248.67º | 0.83% | 0.42% | - |
| XYZ | 3.49 | 1.81 | 14.35 | - |
| YUV | 32.15 | 170.81 | 127.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 18 | 108 | 0.71 | 0.83 | 0 | 0.58 | 248.67 | 0.71 | 0.25 |
| Hex | 1F | 12 | 6C | 47 | 53 | 0 | 3A | F9 | 47 | 19 |
| Octal | 37 | 22 | 154 | 107 | 123 | 0 | 72 | 371 | 107 | 31 |
| Binary | 11111 | 10010 | 1101100 | 1000111 | 1010011 | 0 | 111010 | 11111001 | 1000111 | 11001 |
Color Harmonies of #1F126C
Complementary color
Monochromatic Colors of #1F126C
Black with #1F126C
Text Example
Text Example
White with #1F126C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F126C; }
p { color: rgb(31,18,108); }
H1.HeaderClassName
{
color: #1F126C;
}
.AnyTagClassName
{
color: #1F126C;
}
</style>
background-color css
<style>
a { background-color: #1F126C; }
a { background-color: rgb(31,18,108); }
div.DivClassName
{
background-color: #1F126C;
}
.BgClassName
{
background-color: #1F126C;
}
</style>
border-color css
<style>
span { border-color: #1F126C; }
span { border-color: rgb(31,18,108); }
td.TdClassName
{
border-color: #1F126C;
}
.TagClassName
{
border-color: #1F126C;
}
</style>