Shades of Midnight Blue #1F157D
Tints of Midnight Blue #1F157D
RGB
CMYK
RGB Variations
Color information
#1F157D (or 0x1F157D) is known color: Midnight Blue. HEX triplet: 1F, 15 and 7D. RGB value is (31,21,125). Sum of RGB (Red+Green+Blue) = 31+21+125=177 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.51% from 177); Green value is 21 (8.59% from 255 or 11.86% from 177); Blue value is 125 (49.22% from 255 or 70.62% from 177); Max value from RGB is 125 - color contains mainly: blue. Hex color #1F157D is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F157D is #E0EA82. Grayscale: #232323. Windows color (decimal): -14740099 or 8197407. OLE color: 8197407.
HSL color Cylindrical-coordinate representation of color #1F157D: hue angle of 245.77º degrees, saturation: 0.71, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #1F157D is Cyan = 0.75, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 21 | 125 | - |
| CMYK | 0.75 | 0.83 | 0 | 0.51 |
| HSL | 245.77º | 0.71% | 0.29% | - |
| HSV(B) | 245.77º | 0.83% | 0.49% | - |
| XYZ | 4.53 | 2.31 | 19.61 | - |
| YUV | 35.85 | 178.31 | 124.54 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 21 | 125 | 0.75 | 0.83 | 0 | 0.51 | 245.77 | 0.71 | 0.29 |
| Hex | 1F | 15 | 7D | 4B | 53 | 0 | 33 | F6 | 47 | 1D |
| Octal | 37 | 25 | 175 | 113 | 123 | 0 | 63 | 366 | 107 | 35 |
| Binary | 11111 | 10101 | 1111101 | 1001011 | 1010011 | 0 | 110011 | 11110110 | 1000111 | 11101 |
Color Harmonies of #1F157D
Complementary color
Monochromatic Colors of #1F157D
Black with #1F157D
Text Example
Text Example
White with #1F157D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F157D; }
p { color: rgb(31,21,125); }
H1.HeaderClassName
{
color: #1F157D;
}
.AnyTagClassName
{
color: #1F157D;
}
</style>
background-color css
<style>
a { background-color: #1F157D; }
a { background-color: rgb(31,21,125); }
div.DivClassName
{
background-color: #1F157D;
}
.BgClassName
{
background-color: #1F157D;
}
</style>
border-color css
<style>
span { border-color: #1F157D; }
span { border-color: rgb(31,21,125); }
td.TdClassName
{
border-color: #1F157D;
}
.TagClassName
{
border-color: #1F157D;
}
</style>