Shades of Midnight Blue #1B2871
Tints of Midnight Blue #1B2871
RGB
CMYK
RGB Variations
Color information
#1B2871 (or 0x1B2871) is known color: Midnight Blue. HEX triplet: 1B, 28 and 71. RGB value is (27,40,113). Sum of RGB (Red+Green+Blue) = 27+40+113=180 (23% of max value = 765). Red value is 27 (10.94% from 255 or 15% from 180); Green value is 40 (16.02% from 255 or 22.22% from 180); Blue value is 113 (44.53% from 255 or 62.78% from 180); Max value from RGB is 113 - color contains mainly: blue. Hex color #1B2871 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B2871 is #E4D78E. Grayscale: #2C2C2C. Windows color (decimal): -14997391 or 7415835. OLE color: 7415835.
HSL color Cylindrical-coordinate representation of color #1B2871: hue angle of 230.93º degrees, saturation: 0.61, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1B2871 is Cyan = 0.76, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 27 | 40 | 113 | - |
| CMYK | 0.76 | 0.65 | 0 | 0.56 |
| HSL | 230.93º | 0.61% | 0.27% | - |
| HSV(B) | 230.93º | 0.76% | 0.44% | - |
| XYZ | 4.19 | 2.94 | 15.97 | - |
| YUV | 44.44 | 166.69 | 115.56 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 40 | 113 | 0.76 | 0.65 | 0 | 0.56 | 230.93 | 0.61 | 0.27 |
| Hex | 1B | 28 | 71 | 4C | 41 | 0 | 38 | E7 | 3D | 1B |
| Octal | 33 | 50 | 161 | 114 | 101 | 0 | 70 | 347 | 75 | 33 |
| Binary | 11011 | 101000 | 1110001 | 1001100 | 1000001 | 0 | 111000 | 11100111 | 111101 | 11011 |
Color Harmonies of #1B2871
Complementary color
Monochromatic Colors of #1B2871
Black with #1B2871
Text Example
Text Example
White with #1B2871
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2871; }
p { color: rgb(27,40,113); }
H1.HeaderClassName
{
color: #1B2871;
}
.AnyTagClassName
{
color: #1B2871;
}
</style>
background-color css
<style>
a { background-color: #1B2871; }
a { background-color: rgb(27,40,113); }
div.DivClassName
{
background-color: #1B2871;
}
.BgClassName
{
background-color: #1B2871;
}
</style>
border-color css
<style>
span { border-color: #1B2871; }
span { border-color: rgb(27,40,113); }
td.TdClassName
{
border-color: #1B2871;
}
.TagClassName
{
border-color: #1B2871;
}
</style>