Shades of Midnight #1B314E
Tints of Midnight #1B314E
RGB
CMYK
RGB Variations
Color information
#1B314E (or 0x1B314E) is known color: Midnight. HEX triplet: 1B, 31 and 4E. RGB value is (27,49,78). Sum of RGB (Red+Green+Blue) = 27+49+78=154 (20% of max value = 765). Red value is 27 (10.94% from 255 or 17.53% from 154); Green value is 49 (19.53% from 255 or 31.82% from 154); Blue value is 78 (30.86% from 255 or 50.65% from 154); Max value from RGB is 78 - color contains mainly: blue. Hex color #1B314E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B314E is #E4CEB1. Grayscale: #2D2D2D. Windows color (decimal): -14995122 or 5124379. OLE color: 5124379.
HSL color Cylindrical-coordinate representation of color #1B314E: hue angle of 214.12º degrees, saturation: 0.49, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.65%. Process color model (Four color, CMYK) of #1B314E is Cyan = 0.65, Magento = 0.37, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 27 | 49 | 78 | - |
| CMYK | 0.65 | 0.37 | 0 | 0.69 |
| HSL | 214.12º | 0.49% | 0.21% | - |
| HSV(B) | 214.12º | 0.65% | 0.31% | - |
| XYZ | 2.93 | 2.98 | 7.63 | - |
| YUV | 45.73 | 146.21 | 114.64 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 49 | 78 | 0.65 | 0.37 | 0 | 0.69 | 214.12 | 0.49 | 0.21 |
| Hex | 1B | 31 | 4E | 41 | 25 | 0 | 45 | D6 | 31 | 15 |
| Octal | 33 | 61 | 116 | 101 | 45 | 0 | 105 | 326 | 61 | 25 |
| Binary | 11011 | 110001 | 1001110 | 1000001 | 100101 | 0 | 1000101 | 11010110 | 110001 | 10101 |
Color Harmonies of #1B314E
Complementary color
Monochromatic Colors of #1B314E
Black with #1B314E
Text Example
Text Example
White with #1B314E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B314E; }
p { color: rgb(27,49,78); }
H1.HeaderClassName
{
color: #1B314E;
}
.AnyTagClassName
{
color: #1B314E;
}
</style>
background-color css
<style>
a { background-color: #1B314E; }
a { background-color: rgb(27,49,78); }
div.DivClassName
{
background-color: #1B314E;
}
.BgClassName
{
background-color: #1B314E;
}
</style>
border-color css
<style>
span { border-color: #1B314E; }
span { border-color: rgb(27,49,78); }
td.TdClassName
{
border-color: #1B314E;
}
.TagClassName
{
border-color: #1B314E;
}
</style>