Shades of Midnight Blue #1F1D76
Tints of Midnight Blue #1F1D76
RGB
CMYK
RGB Variations
Color information
#1F1D76 (or 0x1F1D76) is known color: Midnight Blue. HEX triplet: 1F, 1D and 76. RGB value is (31,29,118). Sum of RGB (Red+Green+Blue) = 31+29+118=178 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.42% from 178); Green value is 29 (11.72% from 255 or 16.29% from 178); Blue value is 118 (46.48% from 255 or 66.29% from 178); Max value from RGB is 118 - color contains mainly: blue. Hex color #1F1D76 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1D76 is #E0E289. Grayscale: #272727. Windows color (decimal): -14738058 or 7740703. OLE color: 7740703.
HSL color Cylindrical-coordinate representation of color #1F1D76: hue angle of 241.35º degrees, saturation: 0.61, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F1D76 is Cyan = 0.74, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 31 | 29 | 118 | - |
| CMYK | 0.74 | 0.75 | 0 | 0.54 |
| HSL | 241.35º | 0.61% | 0.29% | - |
| HSV(B) | 241.35º | 0.75% | 0.46% | - |
| XYZ | 4.27 | 2.48 | 17.39 | - |
| YUV | 39.74 | 172.16 | 121.76 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 29 | 118 | 0.74 | 0.75 | 0 | 0.54 | 241.35 | 0.61 | 0.29 |
| Hex | 1F | 1D | 76 | 4A | 4B | 0 | 36 | F1 | 3D | 1D |
| Octal | 37 | 35 | 166 | 112 | 113 | 0 | 66 | 361 | 75 | 35 |
| Binary | 11111 | 11101 | 1110110 | 1001010 | 1001011 | 0 | 110110 | 11110001 | 111101 | 11101 |
Color Harmonies of #1F1D76
Complementary color
Monochromatic Colors of #1F1D76
Black with #1F1D76
Text Example
Text Example
White with #1F1D76
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1D76; }
p { color: rgb(31,29,118); }
H1.HeaderClassName
{
color: #1F1D76;
}
.AnyTagClassName
{
color: #1F1D76;
}
</style>
background-color css
<style>
a { background-color: #1F1D76; }
a { background-color: rgb(31,29,118); }
div.DivClassName
{
background-color: #1F1D76;
}
.BgClassName
{
background-color: #1F1D76;
}
</style>
border-color css
<style>
span { border-color: #1F1D76; }
span { border-color: rgb(31,29,118); }
td.TdClassName
{
border-color: #1F1D76;
}
.TagClassName
{
border-color: #1F1D76;
}
</style>