Shades of Midnight Blue #1B217F
Tints of Midnight Blue #1B217F
RGB
CMYK
RGB Variations
Color information
#1B217F (or 0x1B217F) is known color: Midnight Blue. HEX triplet: 1B, 21 and 7F. RGB value is (27,33,127). Sum of RGB (Red+Green+Blue) = 27+33+127=187 (24% of max value = 765). Red value is 27 (10.94% from 255 or 14.44% from 187); Green value is 33 (13.28% from 255 or 17.65% from 187); Blue value is 127 (50% from 255 or 67.91% from 187); Max value from RGB is 127 - color contains mainly: blue. Hex color #1B217F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B217F is #E4DE80. Grayscale: #292929. Windows color (decimal): -14999169 or 8331547. OLE color: 8331547.
HSL color Cylindrical-coordinate representation of color #1B217F: hue angle of 236.4º degrees, saturation: 0.65, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1B217F is Cyan = 0.79, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 27 | 33 | 127 | - |
| CMYK | 0.79 | 0.74 | 0 | 0.50 |
| HSL | 236.4º | 0.65% | 0.3% | - |
| HSV(B) | 236.4º | 0.79% | 0.5% | - |
| XYZ | 4.83 | 2.85 | 20.37 | - |
| YUV | 41.92 | 176.01 | 117.36 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 33 | 127 | 0.79 | 0.74 | 0 | 0.50 | 236.4 | 0.65 | 0.3 |
| Hex | 1B | 21 | 7F | 4F | 4A | 0 | 32 | EC | 41 | 1E |
| Octal | 33 | 41 | 177 | 117 | 112 | 0 | 62 | 354 | 101 | 36 |
| Binary | 11011 | 100001 | 1111111 | 1001111 | 1001010 | 0 | 110010 | 11101100 | 1000001 | 11110 |
Color Harmonies of #1B217F
Complementary color
Monochromatic Colors of #1B217F
Black with #1B217F
Text Example
Text Example
White with #1B217F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B217F; }
p { color: rgb(27,33,127); }
H1.HeaderClassName
{
color: #1B217F;
}
.AnyTagClassName
{
color: #1B217F;
}
</style>
background-color css
<style>
a { background-color: #1B217F; }
a { background-color: rgb(27,33,127); }
div.DivClassName
{
background-color: #1B217F;
}
.BgClassName
{
background-color: #1B217F;
}
</style>
border-color css
<style>
span { border-color: #1B217F; }
span { border-color: rgb(27,33,127); }
td.TdClassName
{
border-color: #1B217F;
}
.TagClassName
{
border-color: #1B217F;
}
</style>