Shades of Midnight Blue #1F1B78
Tints of Midnight Blue #1F1B78
RGB
CMYK
RGB Variations
Color information
#1F1B78 (or 0x1F1B78) is known color: Midnight Blue. HEX triplet: 1F, 1B and 78. RGB value is (31,27,120). Sum of RGB (Red+Green+Blue) = 31+27+120=178 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.42% from 178); Green value is 27 (10.94% from 255 or 15.17% from 178); Blue value is 120 (47.27% from 255 or 67.42% from 178); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F1B78 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1B78 is #E0E487. Grayscale: #262626. Windows color (decimal): -14738568 or 7871263. OLE color: 7871263.
HSL color Cylindrical-coordinate representation of color #1F1B78: hue angle of 242.58º degrees, saturation: 0.63, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1F1B78 is Cyan = 0.74, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 27 | 120 | - |
| CMYK | 0.74 | 0.78 | 0 | 0.53 |
| HSL | 242.58º | 0.63% | 0.29% | - |
| HSV(B) | 242.58º | 0.78% | 0.47% | - |
| XYZ | 4.35 | 2.43 | 18.01 | - |
| YUV | 38.8 | 173.83 | 122.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 27 | 120 | 0.74 | 0.78 | 0 | 0.53 | 242.58 | 0.63 | 0.29 |
| Hex | 1F | 1B | 78 | 4A | 4E | 0 | 35 | F3 | 3F | 1D |
| Octal | 37 | 33 | 170 | 112 | 116 | 0 | 65 | 363 | 77 | 35 |
| Binary | 11111 | 11011 | 1111000 | 1001010 | 1001110 | 0 | 110101 | 11110011 | 111111 | 11101 |
Color Harmonies of #1F1B78
Complementary color
Monochromatic Colors of #1F1B78
Black with #1F1B78
Text Example
Text Example
White with #1F1B78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1B78; }
p { color: rgb(31,27,120); }
H1.HeaderClassName
{
color: #1F1B78;
}
.AnyTagClassName
{
color: #1F1B78;
}
</style>
background-color css
<style>
a { background-color: #1F1B78; }
a { background-color: rgb(31,27,120); }
div.DivClassName
{
background-color: #1F1B78;
}
.BgClassName
{
background-color: #1F1B78;
}
</style>
border-color css
<style>
span { border-color: #1F1B78; }
span { border-color: rgb(31,27,120); }
td.TdClassName
{
border-color: #1F1B78;
}
.TagClassName
{
border-color: #1F1B78;
}
</style>