Shades of Midnight #1B304D
Tints of Midnight #1B304D
RGB
CMYK
RGB Variations
Color information
#1B304D (or 0x1B304D) is known color: Midnight. HEX triplet: 1B, 30 and 4D. RGB value is (27,48,77). Sum of RGB (Red+Green+Blue) = 27+48+77=152 (20% of max value = 765). Red value is 27 (10.94% from 255 or 17.76% from 152); Green value is 48 (19.14% from 255 or 31.58% from 152); Blue value is 77 (30.47% from 255 or 50.66% from 152); Max value from RGB is 77 - color contains mainly: blue. Hex color #1B304D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B304D is #E4CFB2. Grayscale: #2C2C2C. Windows color (decimal): -14995379 or 5058587. OLE color: 5058587.
HSL color Cylindrical-coordinate representation of color #1B304D: hue angle of 214.8º degrees, saturation: 0.48, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.65%. Process color model (Four color, CMYK) of #1B304D is Cyan = 0.65, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 27 | 48 | 77 | - |
| CMYK | 0.65 | 0.38 | 0 | 0.70 |
| HSL | 214.8º | 0.48% | 0.2% | - |
| HSV(B) | 214.8º | 0.65% | 0.3% | - |
| XYZ | 2.85 | 2.88 | 7.43 | - |
| YUV | 45.03 | 146.04 | 115.14 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 48 | 77 | 0.65 | 0.38 | 0 | 0.70 | 214.8 | 0.48 | 0.2 |
| Hex | 1B | 30 | 4D | 41 | 26 | 0 | 46 | D7 | 30 | 14 |
| Octal | 33 | 60 | 115 | 101 | 46 | 0 | 106 | 327 | 60 | 24 |
| Binary | 11011 | 110000 | 1001101 | 1000001 | 100110 | 0 | 1000110 | 11010111 | 110000 | 10100 |
Color Harmonies of #1B304D
Complementary color
Monochromatic Colors of #1B304D
Black with #1B304D
Text Example
Text Example
White with #1B304D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B304D; }
p { color: rgb(27,48,77); }
H1.HeaderClassName
{
color: #1B304D;
}
.AnyTagClassName
{
color: #1B304D;
}
</style>
background-color css
<style>
a { background-color: #1B304D; }
a { background-color: rgb(27,48,77); }
div.DivClassName
{
background-color: #1B304D;
}
.BgClassName
{
background-color: #1B304D;
}
</style>
border-color css
<style>
span { border-color: #1B304D; }
span { border-color: rgb(27,48,77); }
td.TdClassName
{
border-color: #1B304D;
}
.TagClassName
{
border-color: #1B304D;
}
</style>