Shades of Midnight Blue #1B2B78
Tints of Midnight Blue #1B2B78
RGB
CMYK
RGB Variations
Color information
#1B2B78 (or 0x1B2B78) is known color: Midnight Blue. HEX triplet: 1B, 2B and 78. RGB value is (27,43,120). Sum of RGB (Red+Green+Blue) = 27+43+120=190 (25% of max value = 765). Red value is 27 (10.94% from 255 or 14.21% from 190); Green value is 43 (17.19% from 255 or 22.63% from 190); Blue value is 120 (47.27% from 255 or 63.16% from 190); Max value from RGB is 120 - color contains mainly: blue. Hex color #1B2B78 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B2B78 is #E4D487. Grayscale: #2E2E2E. Windows color (decimal): -14996616 or 7875355. OLE color: 7875355.
HSL color Cylindrical-coordinate representation of color #1B2B78: hue angle of 229.68º 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 #1B2B78 is Cyan = 0.78, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 27 | 43 | 120 | - |
| CMYK | 0.78 | 0.64 | 0 | 0.53 |
| HSL | 229.68º | 0.63% | 0.29% | - |
| HSV(B) | 229.68º | 0.78% | 0.47% | - |
| XYZ | 4.71 | 3.32 | 18.16 | - |
| YUV | 46.99 | 169.2 | 113.74 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 43 | 120 | 0.78 | 0.64 | 0 | 0.53 | 229.68 | 0.63 | 0.29 |
| Hex | 1B | 2B | 78 | 4E | 40 | 0 | 35 | E6 | 3F | 1D |
| Octal | 33 | 53 | 170 | 116 | 100 | 0 | 65 | 346 | 77 | 35 |
| Binary | 11011 | 101011 | 1111000 | 1001110 | 1000000 | 0 | 110101 | 11100110 | 111111 | 11101 |
Color Harmonies of #1B2B78
Complementary color
Monochromatic Colors of #1B2B78
Black with #1B2B78
Text Example
Text Example
White with #1B2B78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2B78; }
p { color: rgb(27,43,120); }
H1.HeaderClassName
{
color: #1B2B78;
}
.AnyTagClassName
{
color: #1B2B78;
}
</style>
background-color css
<style>
a { background-color: #1B2B78; }
a { background-color: rgb(27,43,120); }
div.DivClassName
{
background-color: #1B2B78;
}
.BgClassName
{
background-color: #1B2B78;
}
</style>
border-color css
<style>
span { border-color: #1B2B78; }
span { border-color: rgb(27,43,120); }
td.TdClassName
{
border-color: #1B2B78;
}
.TagClassName
{
border-color: #1B2B78;
}
</style>