Shades of Midnight Blue #1B2A87
Tints of Midnight Blue #1B2A87
RGB
CMYK
RGB Variations
Color information
#1B2A87 (or 0x1B2A87) is known color: Midnight Blue. HEX triplet: 1B, 2A and 87. RGB value is (27,42,135). Sum of RGB (Red+Green+Blue) = 27+42+135=204 (27% of max value = 765). Red value is 27 (10.94% from 255 or 13.24% from 204); Green value is 42 (16.80% from 255 or 20.59% from 204); Blue value is 135 (53.12% from 255 or 66.18% from 204); Max value from RGB is 135 - color contains mainly: blue. Hex color #1B2A87 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1B2A87 is #E4D578. Grayscale: #2F2F2F. Windows color (decimal): -14996857 or 8858139. OLE color: 8858139.
HSL color Cylindrical-coordinate representation of color #1B2A87: hue angle of 231.67º 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 #1B2A87 is Cyan = 0.8, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.47.
Color convert
| RGB | 27 | 42 | 135 | - |
| CMYK | 0.8 | 0.69 | 0 | 0.47 |
| HSL | 231.67º | 0.67% | 0.32% | - |
| HSV(B) | 231.67º | 0.8% | 0.53% | - |
| XYZ | 5.65 | 3.64 | 23.33 | - |
| YUV | 48.12 | 177.03 | 112.94 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 42 | 135 | 0.8 | 0.69 | 0 | 0.47 | 231.67 | 0.67 | 0.32 |
| Hex | 1B | 2A | 87 | 50 | 45 | 0 | 2F | E8 | 43 | 20 |
| Octal | 33 | 52 | 207 | 120 | 105 | 0 | 57 | 350 | 103 | 40 |
| Binary | 11011 | 101010 | 10000111 | 1010000 | 1000101 | 0 | 101111 | 11101000 | 1000011 | 100000 |
Color Harmonies of #1B2A87
Complementary color
Monochromatic Colors of #1B2A87
Black with #1B2A87
Text Example
Text Example
White with #1B2A87
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2A87; }
p { color: rgb(27,42,135); }
H1.HeaderClassName
{
color: #1B2A87;
}
.AnyTagClassName
{
color: #1B2A87;
}
</style>
background-color css
<style>
a { background-color: #1B2A87; }
a { background-color: rgb(27,42,135); }
div.DivClassName
{
background-color: #1B2A87;
}
.BgClassName
{
background-color: #1B2A87;
}
</style>
border-color css
<style>
span { border-color: #1B2A87; }
span { border-color: rgb(27,42,135); }
td.TdClassName
{
border-color: #1B2A87;
}
.TagClassName
{
border-color: #1B2A87;
}
</style>