Shades of Midnight Blue #1B2166
Tints of Midnight Blue #1B2166
RGB
CMYK
RGB Variations
Color information
#1B2166 (or 0x1B2166) is known color: Midnight Blue. HEX triplet: 1B, 21 and 66. RGB value is (27,33,102). Sum of RGB (Red+Green+Blue) = 27+33+102=162 (21% of max value = 765). Red value is 27 (10.94% from 255 or 16.67% from 162); Green value is 33 (13.28% from 255 or 20.37% from 162); Blue value is 102 (40.23% from 255 or 62.96% from 162); Max value from RGB is 102 - color contains mainly: blue. Hex color #1B2166 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B2166 is #E4DE99. Grayscale: #262626. Windows color (decimal): -14999194 or 6693147. OLE color: 6693147.
HSL color Cylindrical-coordinate representation of color #1B2166: hue angle of 235.2º degrees, saturation: 0.58, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #1B2166 is Cyan = 0.74, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 27 | 33 | 102 | - |
| CMYK | 0.74 | 0.68 | 0 | 0.6 |
| HSL | 235.2º | 0.58% | 0.25% | - |
| HSV(B) | 235.2º | 0.74% | 0.4% | - |
| XYZ | 3.39 | 2.28 | 12.83 | - |
| YUV | 39.07 | 163.51 | 119.39 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 33 | 102 | 0.74 | 0.68 | 0 | 0.6 | 235.2 | 0.58 | 0.25 |
| Hex | 1B | 21 | 66 | 4A | 44 | 0 | 3C | EB | 3A | 19 |
| Octal | 33 | 41 | 146 | 112 | 104 | 0 | 74 | 353 | 72 | 31 |
| Binary | 11011 | 100001 | 1100110 | 1001010 | 1000100 | 0 | 111100 | 11101011 | 111010 | 11001 |
Color Harmonies of #1B2166
Complementary color
Monochromatic Colors of #1B2166
Black with #1B2166
Text Example
Text Example
White with #1B2166
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2166; }
p { color: rgb(27,33,102); }
H1.HeaderClassName
{
color: #1B2166;
}
.AnyTagClassName
{
color: #1B2166;
}
</style>
background-color css
<style>
a { background-color: #1B2166; }
a { background-color: rgb(27,33,102); }
div.DivClassName
{
background-color: #1B2166;
}
.BgClassName
{
background-color: #1B2166;
}
</style>
border-color css
<style>
span { border-color: #1B2166; }
span { border-color: rgb(27,33,102); }
td.TdClassName
{
border-color: #1B2166;
}
.TagClassName
{
border-color: #1B2166;
}
</style>