Shades of Midnight Blue #1B286F
Tints of Midnight Blue #1B286F
RGB
CMYK
RGB Variations
Color information
#1B286F (or 0x1B286F) is known color: Midnight Blue. HEX triplet: 1B, 28 and 6F. RGB value is (27,40,111). Sum of RGB (Red+Green+Blue) = 27+40+111=178 (23% of max value = 765). Red value is 27 (10.94% from 255 or 15.17% from 178); Green value is 40 (16.02% from 255 or 22.47% from 178); Blue value is 111 (43.75% from 255 or 62.36% from 178); Max value from RGB is 111 - color contains mainly: blue. Hex color #1B286F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B286F is #E4D790. Grayscale: #2B2B2B. Windows color (decimal): -14997393 or 7284763. OLE color: 7284763.
HSL color Cylindrical-coordinate representation of color #1B286F: hue angle of 230.71º 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 #1B286F is Cyan = 0.76, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 27 | 40 | 111 | - |
| CMYK | 0.76 | 0.64 | 0 | 0.56 |
| HSL | 230.71º | 0.61% | 0.27% | - |
| HSV(B) | 230.71º | 0.76% | 0.44% | - |
| XYZ | 4.08 | 2.9 | 15.38 | - |
| YUV | 44.21 | 165.69 | 115.73 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 40 | 111 | 0.76 | 0.64 | 0 | 0.56 | 230.71 | 0.61 | 0.27 |
| Hex | 1B | 28 | 6F | 4C | 40 | 0 | 38 | E7 | 3D | 1B |
| Octal | 33 | 50 | 157 | 114 | 100 | 0 | 70 | 347 | 75 | 33 |
| Binary | 11011 | 101000 | 1101111 | 1001100 | 1000000 | 0 | 111000 | 11100111 | 111101 | 11011 |
Color Harmonies of #1B286F
Complementary color
Monochromatic Colors of #1B286F
Black with #1B286F
Text Example
Text Example
White with #1B286F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B286F; }
p { color: rgb(27,40,111); }
H1.HeaderClassName
{
color: #1B286F;
}
.AnyTagClassName
{
color: #1B286F;
}
</style>
background-color css
<style>
a { background-color: #1B286F; }
a { background-color: rgb(27,40,111); }
div.DivClassName
{
background-color: #1B286F;
}
.BgClassName
{
background-color: #1B286F;
}
</style>
border-color css
<style>
span { border-color: #1B286F; }
span { border-color: rgb(27,40,111); }
td.TdClassName
{
border-color: #1B286F;
}
.TagClassName
{
border-color: #1B286F;
}
</style>