Shades of Midnight #1B304E
Tints of Midnight #1B304E
RGB
CMYK
RGB Variations
Color information
#1B304E (or 0x1B304E) is known color: Midnight. HEX triplet: 1B, 30 and 4E. RGB value is (27,48,78). Sum of RGB (Red+Green+Blue) = 27+48+78=153 (20% of max value = 765). Red value is 27 (10.94% from 255 or 17.65% from 153); Green value is 48 (19.14% from 255 or 31.37% from 153); Blue value is 78 (30.86% from 255 or 50.98% from 153); Max value from RGB is 78 - color contains mainly: blue. Hex color #1B304E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B304E is #E4CFB1. Grayscale: #2D2D2D. Windows color (decimal): -14995378 or 5124123. OLE color: 5124123.
HSL color Cylindrical-coordinate representation of color #1B304E: hue angle of 215.29º 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 #1B304E is Cyan = 0.65, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 27 | 48 | 78 | - |
| CMYK | 0.65 | 0.38 | 0 | 0.69 |
| HSL | 215.29º | 0.49% | 0.21% | - |
| HSV(B) | 215.29º | 0.65% | 0.31% | - |
| XYZ | 2.88 | 2.9 | 7.61 | - |
| YUV | 45.14 | 146.54 | 115.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 48 | 78 | 0.65 | 0.38 | 0 | 0.69 | 215.29 | 0.49 | 0.21 |
| Hex | 1B | 30 | 4E | 41 | 26 | 0 | 45 | D7 | 31 | 15 |
| Octal | 33 | 60 | 116 | 101 | 46 | 0 | 105 | 327 | 61 | 25 |
| Binary | 11011 | 110000 | 1001110 | 1000001 | 100110 | 0 | 1000101 | 11010111 | 110001 | 10101 |
Color Harmonies of #1B304E
Complementary color
Monochromatic Colors of #1B304E
Black with #1B304E
Text Example
Text Example
White with #1B304E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B304E; }
p { color: rgb(27,48,78); }
H1.HeaderClassName
{
color: #1B304E;
}
.AnyTagClassName
{
color: #1B304E;
}
</style>
background-color css
<style>
a { background-color: #1B304E; }
a { background-color: rgb(27,48,78); }
div.DivClassName
{
background-color: #1B304E;
}
.BgClassName
{
background-color: #1B304E;
}
</style>
border-color css
<style>
span { border-color: #1B304E; }
span { border-color: rgb(27,48,78); }
td.TdClassName
{
border-color: #1B304E;
}
.TagClassName
{
border-color: #1B304E;
}
</style>