Shades of Midnight Blue #1B2887
Tints of Midnight Blue #1B2887
RGB
CMYK
RGB Variations
Color information
#1B2887 (or 0x1B2887) is known color: Midnight Blue. HEX triplet: 1B, 28 and 87. RGB value is (27,40,135). Sum of RGB (Red+Green+Blue) = 27+40+135=202 (26% of max value = 765). Red value is 27 (10.94% from 255 or 13.37% from 202); Green value is 40 (16.02% from 255 or 19.80% from 202); Blue value is 135 (53.12% from 255 or 66.83% from 202); Max value from RGB is 135 - color contains mainly: blue. Hex color #1B2887 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1B2887 is #E4D778. Grayscale: #2E2E2E. Windows color (decimal): -14997369 or 8857627. OLE color: 8857627.
HSL color Cylindrical-coordinate representation of color #1B2887: hue angle of 232.78º degrees, saturation: 0.67, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #1B2887 is Cyan = 0.8, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 27 | 40 | 135 | - |
| CMYK | 0.8 | 0.70 | 0 | 0.47 |
| HSL | 232.78º | 0.67% | 0.32% | - |
| HSV(B) | 232.78º | 0.8% | 0.53% | - |
| XYZ | 5.58 | 3.5 | 23.3 | - |
| YUV | 46.94 | 177.69 | 113.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 40 | 135 | 0.8 | 0.70 | 0 | 0.47 | 232.78 | 0.67 | 0.32 |
| Hex | 1B | 28 | 87 | 50 | 46 | 0 | 2F | E9 | 43 | 20 |
| Octal | 33 | 50 | 207 | 120 | 106 | 0 | 57 | 351 | 103 | 40 |
| Binary | 11011 | 101000 | 10000111 | 1010000 | 1000110 | 0 | 101111 | 11101001 | 1000011 | 100000 |
Color Harmonies of #1B2887
Complementary color
Monochromatic Colors of #1B2887
Black with #1B2887
Text Example
Text Example
White with #1B2887
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2887; }
p { color: rgb(27,40,135); }
H1.HeaderClassName
{
color: #1B2887;
}
.AnyTagClassName
{
color: #1B2887;
}
</style>
background-color css
<style>
a { background-color: #1B2887; }
a { background-color: rgb(27,40,135); }
div.DivClassName
{
background-color: #1B2887;
}
.BgClassName
{
background-color: #1B2887;
}
</style>
border-color css
<style>
span { border-color: #1B2887; }
span { border-color: rgb(27,40,135); }
td.TdClassName
{
border-color: #1B2887;
}
.TagClassName
{
border-color: #1B2887;
}
</style>