Shades of Midnight Blue #1F125F
Tints of Midnight Blue #1F125F
RGB
CMYK
RGB Variations
Color information
#1F125F (or 0x1F125F) is known color: Midnight Blue. HEX triplet: 1F, 12 and 5F. RGB value is (31,18,95). Sum of RGB (Red+Green+Blue) = 31+18+95=144 (19% of max value = 765). Red value is 31 (12.5% from 255 or 21.53% from 144); Green value is 18 (7.42% from 255 or 12.5% from 144); Blue value is 95 (37.5% from 255 or 65.97% from 144); Max value from RGB is 95 - color contains mainly: blue. Hex color #1F125F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F125F is #E0EDA0. Grayscale: #1E1E1E. Windows color (decimal): -14740897 or 6230559. OLE color: 6230559.
HSL color Cylindrical-coordinate representation of color #1F125F: hue angle of 250.13º degrees, saturation: 0.68, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #1F125F is Cyan = 0.67, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 31 | 18 | 95 | - |
| CMYK | 0.67 | 0.81 | 0 | 0.63 |
| HSL | 250.13º | 0.68% | 0.22% | - |
| HSV(B) | 250.13º | 0.81% | 0.37% | - |
| XYZ | 2.85 | 1.55 | 10.98 | - |
| YUV | 30.67 | 164.31 | 128.24 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 18 | 95 | 0.67 | 0.81 | 0 | 0.63 | 250.13 | 0.68 | 0.22 |
| Hex | 1F | 12 | 5F | 43 | 51 | 0 | 3F | FA | 44 | 16 |
| Octal | 37 | 22 | 137 | 103 | 121 | 0 | 77 | 372 | 104 | 26 |
| Binary | 11111 | 10010 | 1011111 | 1000011 | 1010001 | 0 | 111111 | 11111010 | 1000100 | 10110 |
Color Harmonies of #1F125F
Complementary color
Monochromatic Colors of #1F125F
Black with #1F125F
Text Example
Text Example
White with #1F125F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F125F; }
p { color: rgb(31,18,95); }
H1.HeaderClassName
{
color: #1F125F;
}
.AnyTagClassName
{
color: #1F125F;
}
</style>
background-color css
<style>
a { background-color: #1F125F; }
a { background-color: rgb(31,18,95); }
div.DivClassName
{
background-color: #1F125F;
}
.BgClassName
{
background-color: #1F125F;
}
</style>
border-color css
<style>
span { border-color: #1F125F; }
span { border-color: rgb(31,18,95); }
td.TdClassName
{
border-color: #1F125F;
}
.TagClassName
{
border-color: #1F125F;
}
</style>