Shades of Midnight Blue #1F167D
Tints of Midnight Blue #1F167D
RGB
CMYK
RGB Variations
Color information
#1F167D (or 0x1F167D) is known color: Midnight Blue. HEX triplet: 1F, 16 and 7D. RGB value is (31,22,125). Sum of RGB (Red+Green+Blue) = 31+22+125=178 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.42% from 178); Green value is 22 (8.98% from 255 or 12.36% from 178); Blue value is 125 (49.22% from 255 or 70.22% from 178); Max value from RGB is 125 - color contains mainly: blue. Hex color #1F167D is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F167D is #E0E982. Grayscale: #242424. Windows color (decimal): -14739843 or 8197663. OLE color: 8197663.
HSL color Cylindrical-coordinate representation of color #1F167D: hue angle of 245.24º degrees, saturation: 0.7, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #1F167D is Cyan = 0.75, Magento = 0.82, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 22 | 125 | - |
| CMYK | 0.75 | 0.82 | 0 | 0.51 |
| HSL | 245.24º | 0.7% | 0.29% | - |
| HSV(B) | 245.24º | 0.82% | 0.49% | - |
| XYZ | 4.55 | 2.35 | 19.61 | - |
| YUV | 36.43 | 177.98 | 124.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 22 | 125 | 0.75 | 0.82 | 0 | 0.51 | 245.24 | 0.7 | 0.29 |
| Hex | 1F | 16 | 7D | 4B | 52 | 0 | 33 | F5 | 46 | 1D |
| Octal | 37 | 26 | 175 | 113 | 122 | 0 | 63 | 365 | 106 | 35 |
| Binary | 11111 | 10110 | 1111101 | 1001011 | 1010010 | 0 | 110011 | 11110101 | 1000110 | 11101 |
Color Harmonies of #1F167D
Complementary color
Monochromatic Colors of #1F167D
Black with #1F167D
Text Example
Text Example
White with #1F167D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F167D; }
p { color: rgb(31,22,125); }
H1.HeaderClassName
{
color: #1F167D;
}
.AnyTagClassName
{
color: #1F167D;
}
</style>
background-color css
<style>
a { background-color: #1F167D; }
a { background-color: rgb(31,22,125); }
div.DivClassName
{
background-color: #1F167D;
}
.BgClassName
{
background-color: #1F167D;
}
</style>
border-color css
<style>
span { border-color: #1F167D; }
span { border-color: rgb(31,22,125); }
td.TdClassName
{
border-color: #1F167D;
}
.TagClassName
{
border-color: #1F167D;
}
</style>