Shades of Midnight Blue #1F126E
Tints of Midnight Blue #1F126E
RGB
CMYK
RGB Variations
Color information
#1F126E (or 0x1F126E) is known color: Midnight Blue. HEX triplet: 1F, 12 and 6E. RGB value is (31,18,110). Sum of RGB (Red+Green+Blue) = 31+18+110=159 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.50% from 159); Green value is 18 (7.42% from 255 or 11.32% from 159); Blue value is 110 (43.36% from 255 or 69.18% from 159); Max value from RGB is 110 - color contains mainly: blue. Hex color #1F126E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F126E is #E0ED91. Grayscale: #202020. Windows color (decimal): -14740882 or 7213599. OLE color: 7213599.
HSL color Cylindrical-coordinate representation of color #1F126E: hue angle of 248.48º degrees, saturation: 0.72, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #1F126E is Cyan = 0.72, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 31 | 18 | 110 | - |
| CMYK | 0.72 | 0.84 | 0 | 0.57 |
| HSL | 248.48º | 0.72% | 0.25% | - |
| HSV(B) | 248.48º | 0.84% | 0.43% | - |
| XYZ | 3.6 | 1.85 | 14.92 | - |
| YUV | 32.38 | 171.81 | 127.02 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 18 | 110 | 0.72 | 0.84 | 0 | 0.57 | 248.48 | 0.72 | 0.25 |
| Hex | 1F | 12 | 6E | 48 | 54 | 0 | 39 | F8 | 48 | 19 |
| Octal | 37 | 22 | 156 | 110 | 124 | 0 | 71 | 370 | 110 | 31 |
| Binary | 11111 | 10010 | 1101110 | 1001000 | 1010100 | 0 | 111001 | 11111000 | 1001000 | 11001 |
Color Harmonies of #1F126E
Complementary color
Monochromatic Colors of #1F126E
Black with #1F126E
Text Example
Text Example
White with #1F126E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F126E; }
p { color: rgb(31,18,110); }
H1.HeaderClassName
{
color: #1F126E;
}
.AnyTagClassName
{
color: #1F126E;
}
</style>
background-color css
<style>
a { background-color: #1F126E; }
a { background-color: rgb(31,18,110); }
div.DivClassName
{
background-color: #1F126E;
}
.BgClassName
{
background-color: #1F126E;
}
</style>
border-color css
<style>
span { border-color: #1F126E; }
span { border-color: rgb(31,18,110); }
td.TdClassName
{
border-color: #1F126E;
}
.TagClassName
{
border-color: #1F126E;
}
</style>