Shades of Midnight Blue #1F1B76
Tints of Midnight Blue #1F1B76
RGB
CMYK
RGB Variations
Color information
#1F1B76 (or 0x1F1B76) is known color: Midnight Blue. HEX triplet: 1F, 1B and 76. RGB value is (31,27,118). Sum of RGB (Red+Green+Blue) = 31+27+118=176 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.61% from 176); Green value is 27 (10.94% from 255 or 15.34% from 176); Blue value is 118 (46.48% from 255 or 67.05% from 176); Max value from RGB is 118 - color contains mainly: blue. Hex color #1F1B76 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1B76 is #E0E489. Grayscale: #262626. Windows color (decimal): -14738570 or 7740191. OLE color: 7740191.
HSL color Cylindrical-coordinate representation of color #1F1B76: hue angle of 242.64º degrees, saturation: 0.63, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.46% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F1B76 is Cyan = 0.74, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.54.
Color convert
| RGB | 31 | 27 | 118 | - |
| CMYK | 0.74 | 0.77 | 0 | 0.54 |
| HSL | 242.64º | 0.63% | 0.28% | - |
| HSV(B) | 242.64º | 0.77% | 0.46% | - |
| XYZ | 4.23 | 2.38 | 17.38 | - |
| YUV | 38.57 | 172.83 | 122.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 27 | 118 | 0.74 | 0.77 | 0 | 0.54 | 242.64 | 0.63 | 0.28 |
| Hex | 1F | 1B | 76 | 4A | 4D | 0 | 36 | F3 | 3F | 1C |
| Octal | 37 | 33 | 166 | 112 | 115 | 0 | 66 | 363 | 77 | 34 |
| Binary | 11111 | 11011 | 1110110 | 1001010 | 1001101 | 0 | 110110 | 11110011 | 111111 | 11100 |
Color Harmonies of #1F1B76
Complementary color
Monochromatic Colors of #1F1B76
Black with #1F1B76
Text Example
Text Example
White with #1F1B76
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1B76; }
p { color: rgb(31,27,118); }
H1.HeaderClassName
{
color: #1F1B76;
}
.AnyTagClassName
{
color: #1F1B76;
}
</style>
background-color css
<style>
a { background-color: #1F1B76; }
a { background-color: rgb(31,27,118); }
div.DivClassName
{
background-color: #1F1B76;
}
.BgClassName
{
background-color: #1F1B76;
}
</style>
border-color css
<style>
span { border-color: #1F1B76; }
span { border-color: rgb(31,27,118); }
td.TdClassName
{
border-color: #1F1B76;
}
.TagClassName
{
border-color: #1F1B76;
}
</style>