Shades of Midnight Blue #1B217A
Tints of Midnight Blue #1B217A
RGB
CMYK
RGB Variations
Color information
#1B217A (or 0x1B217A) is known color: Midnight Blue. HEX triplet: 1B, 21 and 7A. RGB value is (27,33,122). Sum of RGB (Red+Green+Blue) = 27+33+122=182 (24% of max value = 765). Red value is 27 (10.94% from 255 or 14.84% from 182); Green value is 33 (13.28% from 255 or 18.13% from 182); Blue value is 122 (48.05% from 255 or 67.03% from 182); Max value from RGB is 122 - color contains mainly: blue. Hex color #1B217A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B217A is #E4DE85. Grayscale: #282828. Windows color (decimal): -14999174 or 8003867. OLE color: 8003867.
HSL color Cylindrical-coordinate representation of color #1B217A: hue angle of 236.21º degrees, saturation: 0.64, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1B217A is Cyan = 0.78, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 27 | 33 | 122 | - |
| CMYK | 0.78 | 0.73 | 0 | 0.52 |
| HSL | 236.21º | 0.64% | 0.29% | - |
| HSV(B) | 236.21º | 0.78% | 0.48% | - |
| XYZ | 4.51 | 2.73 | 18.7 | - |
| YUV | 41.35 | 173.51 | 117.76 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 33 | 122 | 0.78 | 0.73 | 0 | 0.52 | 236.21 | 0.64 | 0.29 |
| Hex | 1B | 21 | 7A | 4E | 49 | 0 | 34 | EC | 40 | 1D |
| Octal | 33 | 41 | 172 | 116 | 111 | 0 | 64 | 354 | 100 | 35 |
| Binary | 11011 | 100001 | 1111010 | 1001110 | 1001001 | 0 | 110100 | 11101100 | 1000000 | 11101 |
Color Harmonies of #1B217A
Complementary color
Monochromatic Colors of #1B217A
Black with #1B217A
Text Example
Text Example
White with #1B217A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B217A; }
p { color: rgb(27,33,122); }
H1.HeaderClassName
{
color: #1B217A;
}
.AnyTagClassName
{
color: #1B217A;
}
</style>
background-color css
<style>
a { background-color: #1B217A; }
a { background-color: rgb(27,33,122); }
div.DivClassName
{
background-color: #1B217A;
}
.BgClassName
{
background-color: #1B217A;
}
</style>
border-color css
<style>
span { border-color: #1B217A; }
span { border-color: rgb(27,33,122); }
td.TdClassName
{
border-color: #1B217A;
}
.TagClassName
{
border-color: #1B217A;
}
</style>