Shades of Midnight Blue #1B216B
Tints of Midnight Blue #1B216B
RGB
CMYK
RGB Variations
Color information
#1B216B (or 0x1B216B) is known color: Midnight Blue. HEX triplet: 1B, 21 and 6B. RGB value is (27,33,107). Sum of RGB (Red+Green+Blue) = 27+33+107=167 (22% of max value = 765). Red value is 27 (10.94% from 255 or 16.17% from 167); Green value is 33 (13.28% from 255 or 19.76% from 167); Blue value is 107 (42.19% from 255 or 64.07% from 167); Max value from RGB is 107 - color contains mainly: blue. Hex color #1B216B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B216B is #E4DE94. Grayscale: #272727. Windows color (decimal): -14999189 or 7020827. OLE color: 7020827.
HSL color Cylindrical-coordinate representation of color #1B216B: hue angle of 235.5º degrees, saturation: 0.6, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1B216B is Cyan = 0.75, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 27 | 33 | 107 | - |
| CMYK | 0.75 | 0.69 | 0 | 0.58 |
| HSL | 235.5º | 0.6% | 0.26% | - |
| HSV(B) | 235.5º | 0.75% | 0.42% | - |
| XYZ | 3.65 | 2.38 | 14.18 | - |
| YUV | 39.64 | 166.01 | 118.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 33 | 107 | 0.75 | 0.69 | 0 | 0.58 | 235.5 | 0.6 | 0.26 |
| Hex | 1B | 21 | 6B | 4B | 45 | 0 | 3A | EC | 3C | 1A |
| Octal | 33 | 41 | 153 | 113 | 105 | 0 | 72 | 354 | 74 | 32 |
| Binary | 11011 | 100001 | 1101011 | 1001011 | 1000101 | 0 | 111010 | 11101100 | 111100 | 11010 |
Color Harmonies of #1B216B
Complementary color
Monochromatic Colors of #1B216B
Black with #1B216B
Text Example
Text Example
White with #1B216B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B216B; }
p { color: rgb(27,33,107); }
H1.HeaderClassName
{
color: #1B216B;
}
.AnyTagClassName
{
color: #1B216B;
}
</style>
background-color css
<style>
a { background-color: #1B216B; }
a { background-color: rgb(27,33,107); }
div.DivClassName
{
background-color: #1B216B;
}
.BgClassName
{
background-color: #1B216B;
}
</style>
border-color css
<style>
span { border-color: #1B216B; }
span { border-color: rgb(27,33,107); }
td.TdClassName
{
border-color: #1B216B;
}
.TagClassName
{
border-color: #1B216B;
}
</style>