Shades of Midnight Blue #1B2170
Tints of Midnight Blue #1B2170
RGB
CMYK
RGB Variations
Color information
#1B2170 (or 0x1B2170) is known color: Midnight Blue. HEX triplet: 1B, 21 and 70. RGB value is (27,33,112). Sum of RGB (Red+Green+Blue) = 27+33+112=172 (22% of max value = 765). Red value is 27 (10.94% from 255 or 15.70% from 172); Green value is 33 (13.28% from 255 or 19.19% from 172); Blue value is 112 (44.14% from 255 or 65.12% from 172); Max value from RGB is 112 - color contains mainly: blue. Hex color #1B2170 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B2170 is #E4DE8F. Grayscale: #272727. Windows color (decimal): -14999184 or 7348507. OLE color: 7348507.
HSL color Cylindrical-coordinate representation of color #1B2170: hue angle of 235.76º degrees, saturation: 0.61, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1B2170 is Cyan = 0.76, Magento = 0.71, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 27 | 33 | 112 | - |
| CMYK | 0.76 | 0.71 | 0 | 0.56 |
| HSL | 235.76º | 0.61% | 0.27% | - |
| HSV(B) | 235.76º | 0.76% | 0.44% | - |
| XYZ | 3.92 | 2.49 | 15.6 | - |
| YUV | 40.21 | 168.51 | 118.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 33 | 112 | 0.76 | 0.71 | 0 | 0.56 | 235.76 | 0.61 | 0.27 |
| Hex | 1B | 21 | 70 | 4C | 47 | 0 | 38 | EC | 3D | 1B |
| Octal | 33 | 41 | 160 | 114 | 107 | 0 | 70 | 354 | 75 | 33 |
| Binary | 11011 | 100001 | 1110000 | 1001100 | 1000111 | 0 | 111000 | 11101100 | 111101 | 11011 |
Color Harmonies of #1B2170
Complementary color
Monochromatic Colors of #1B2170
Black with #1B2170
Text Example
Text Example
White with #1B2170
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B2170; }
p { color: rgb(27,33,112); }
H1.HeaderClassName
{
color: #1B2170;
}
.AnyTagClassName
{
color: #1B2170;
}
</style>
background-color css
<style>
a { background-color: #1B2170; }
a { background-color: rgb(27,33,112); }
div.DivClassName
{
background-color: #1B2170;
}
.BgClassName
{
background-color: #1B2170;
}
</style>
border-color css
<style>
span { border-color: #1B2170; }
span { border-color: rgb(27,33,112); }
td.TdClassName
{
border-color: #1B2170;
}
.TagClassName
{
border-color: #1B2170;
}
</style>