Shades of Midnight Blue #1B1F78
Tints of Midnight Blue #1B1F78
RGB
CMYK
RGB Variations
Color information
#1B1F78 (or 0x1B1F78) is known color: Midnight Blue. HEX triplet: 1B, 1F and 78. RGB value is (27,31,120). Sum of RGB (Red+Green+Blue) = 27+31+120=178 (23% of max value = 765). Red value is 27 (10.94% from 255 or 15.17% from 178); Green value is 31 (12.5% from 255 or 17.42% 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 #1B1F78 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B1F78 is #E4E087. Grayscale: #272727. Windows color (decimal): -14999688 or 7872283. OLE color: 7872283.
HSL color Cylindrical-coordinate representation of color #1B1F78: hue angle of 237.42º 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 #1B1F78 is Cyan = 0.78, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 27 | 31 | 120 | - |
| CMYK | 0.78 | 0.74 | 0 | 0.53 |
| HSL | 237.42º | 0.63% | 0.29% | - |
| HSV(B) | 237.42º | 0.78% | 0.47% | - |
| XYZ | 4.33 | 2.57 | 18.04 | - |
| YUV | 39.95 | 173.17 | 118.76 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 31 | 120 | 0.78 | 0.74 | 0 | 0.53 | 237.42 | 0.63 | 0.29 |
| Hex | 1B | 1F | 78 | 4E | 4A | 0 | 35 | ED | 3F | 1D |
| Octal | 33 | 37 | 170 | 116 | 112 | 0 | 65 | 355 | 77 | 35 |
| Binary | 11011 | 11111 | 1111000 | 1001110 | 1001010 | 0 | 110101 | 11101101 | 111111 | 11101 |
Color Harmonies of #1B1F78
Complementary color
Monochromatic Colors of #1B1F78
Black with #1B1F78
Text Example
Text Example
White with #1B1F78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B1F78; }
p { color: rgb(27,31,120); }
H1.HeaderClassName
{
color: #1B1F78;
}
.AnyTagClassName
{
color: #1B1F78;
}
</style>
background-color css
<style>
a { background-color: #1B1F78; }
a { background-color: rgb(27,31,120); }
div.DivClassName
{
background-color: #1B1F78;
}
.BgClassName
{
background-color: #1B1F78;
}
</style>
border-color css
<style>
span { border-color: #1B1F78; }
span { border-color: rgb(27,31,120); }
td.TdClassName
{
border-color: #1B1F78;
}
.TagClassName
{
border-color: #1B1F78;
}
</style>