Shades of Midnight Blue #1F157B
Tints of Midnight Blue #1F157B
RGB
CMYK
RGB Variations
Color information
#1F157B (or 0x1F157B) is known color: Midnight Blue. HEX triplet: 1F, 15 and 7B. RGB value is (31,21,123). Sum of RGB (Red+Green+Blue) = 31+21+123=175 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.71% from 175); Green value is 21 (8.59% from 255 or 12% from 175); Blue value is 123 (48.44% from 255 or 70.29% from 175); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F157B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F157B is #E0EA84. Grayscale: #232323. Windows color (decimal): -14740101 or 8066335. OLE color: 8066335.
HSL color Cylindrical-coordinate representation of color #1F157B: hue angle of 245.88º degrees, saturation: 0.71, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #1F157B is Cyan = 0.75, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 21 | 123 | - |
| CMYK | 0.75 | 0.83 | 0 | 0.52 |
| HSL | 245.88º | 0.71% | 0.28% | - |
| HSV(B) | 245.88º | 0.83% | 0.48% | - |
| XYZ | 4.41 | 2.26 | 18.94 | - |
| YUV | 35.62 | 177.31 | 124.71 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 21 | 123 | 0.75 | 0.83 | 0 | 0.52 | 245.88 | 0.71 | 0.28 |
| Hex | 1F | 15 | 7B | 4B | 53 | 0 | 34 | F6 | 47 | 1C |
| Octal | 37 | 25 | 173 | 113 | 123 | 0 | 64 | 366 | 107 | 34 |
| Binary | 11111 | 10101 | 1111011 | 1001011 | 1010011 | 0 | 110100 | 11110110 | 1000111 | 11100 |
Color Harmonies of #1F157B
Complementary color
Monochromatic Colors of #1F157B
Black with #1F157B
Text Example
Text Example
White with #1F157B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F157B; }
p { color: rgb(31,21,123); }
H1.HeaderClassName
{
color: #1F157B;
}
.AnyTagClassName
{
color: #1F157B;
}
</style>
background-color css
<style>
a { background-color: #1F157B; }
a { background-color: rgb(31,21,123); }
div.DivClassName
{
background-color: #1F157B;
}
.BgClassName
{
background-color: #1F157B;
}
</style>
border-color css
<style>
span { border-color: #1F157B; }
span { border-color: rgb(31,21,123); }
td.TdClassName
{
border-color: #1F157B;
}
.TagClassName
{
border-color: #1F157B;
}
</style>