Shades of Midnight Blue #1F1B7B
Tints of Midnight Blue #1F1B7B
RGB
CMYK
RGB Variations
Color information
#1F1B7B (or 0x1F1B7B) is known color: Midnight Blue. HEX triplet: 1F, 1B and 7B. RGB value is (31,27,123). Sum of RGB (Red+Green+Blue) = 31+27+123=181 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.13% from 181); Green value is 27 (10.94% from 255 or 14.92% from 181); Blue value is 123 (48.44% from 255 or 67.96% from 181); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F1B7B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1B7B is #E0E484. Grayscale: #262626. Windows color (decimal): -14738565 or 8067871. OLE color: 8067871.
HSL color Cylindrical-coordinate representation of color #1F1B7B: hue angle of 242.5º degrees, saturation: 0.64, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F1B7B is Cyan = 0.75, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 27 | 123 | - |
| CMYK | 0.75 | 0.78 | 0 | 0.52 |
| HSL | 242.5º | 0.64% | 0.29% | - |
| HSV(B) | 242.5º | 0.78% | 0.48% | - |
| XYZ | 4.53 | 2.51 | 18.98 | - |
| YUV | 39.14 | 175.33 | 122.19 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 27 | 123 | 0.75 | 0.78 | 0 | 0.52 | 242.5 | 0.64 | 0.29 |
| Hex | 1F | 1B | 7B | 4B | 4E | 0 | 34 | F2 | 40 | 1D |
| Octal | 37 | 33 | 173 | 113 | 116 | 0 | 64 | 362 | 100 | 35 |
| Binary | 11111 | 11011 | 1111011 | 1001011 | 1001110 | 0 | 110100 | 11110010 | 1000000 | 11101 |
Color Harmonies of #1F1B7B
Complementary color
Monochromatic Colors of #1F1B7B
Black with #1F1B7B
Text Example
Text Example
White with #1F1B7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1B7B; }
p { color: rgb(31,27,123); }
H1.HeaderClassName
{
color: #1F1B7B;
}
.AnyTagClassName
{
color: #1F1B7B;
}
</style>
background-color css
<style>
a { background-color: #1F1B7B; }
a { background-color: rgb(31,27,123); }
div.DivClassName
{
background-color: #1F1B7B;
}
.BgClassName
{
background-color: #1F1B7B;
}
</style>
border-color css
<style>
span { border-color: #1F1B7B; }
span { border-color: rgb(31,27,123); }
td.TdClassName
{
border-color: #1F1B7B;
}
.TagClassName
{
border-color: #1F1B7B;
}
</style>