Shades of Midnight Blue #1B1F71
Tints of Midnight Blue #1B1F71
RGB
CMYK
RGB Variations
Color information
#1B1F71 (or 0x1B1F71) is known color: Midnight Blue. HEX triplet: 1B, 1F and 71. RGB value is (27,31,113). Sum of RGB (Red+Green+Blue) = 27+31+113=171 (22% of max value = 765). Red value is 27 (10.94% from 255 or 15.79% from 171); Green value is 31 (12.5% from 255 or 18.13% from 171); Blue value is 113 (44.53% from 255 or 66.08% from 171); Max value from RGB is 113 - color contains mainly: blue. Hex color #1B1F71 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1B1F71 is #E4E08E. Grayscale: #262626. Windows color (decimal): -14999695 or 7413531. OLE color: 7413531.
HSL color Cylindrical-coordinate representation of color #1B1F71: hue angle of 237.21º 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 #1B1F71 is Cyan = 0.76, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 27 | 31 | 113 | - |
| CMYK | 0.76 | 0.73 | 0 | 0.56 |
| HSL | 237.21º | 0.61% | 0.27% | - |
| HSV(B) | 237.21º | 0.76% | 0.44% | - |
| XYZ | 3.92 | 2.41 | 15.88 | - |
| YUV | 39.15 | 169.67 | 119.33 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 27 | 31 | 113 | 0.76 | 0.73 | 0 | 0.56 | 237.21 | 0.61 | 0.27 |
| Hex | 1B | 1F | 71 | 4C | 49 | 0 | 38 | ED | 3D | 1B |
| Octal | 33 | 37 | 161 | 114 | 111 | 0 | 70 | 355 | 75 | 33 |
| Binary | 11011 | 11111 | 1110001 | 1001100 | 1001001 | 0 | 111000 | 11101101 | 111101 | 11011 |
Color Harmonies of #1B1F71
Complementary color
Monochromatic Colors of #1B1F71
Black with #1B1F71
Text Example
Text Example
White with #1B1F71
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1B1F71; }
p { color: rgb(27,31,113); }
H1.HeaderClassName
{
color: #1B1F71;
}
.AnyTagClassName
{
color: #1B1F71;
}
</style>
background-color css
<style>
a { background-color: #1B1F71; }
a { background-color: rgb(27,31,113); }
div.DivClassName
{
background-color: #1B1F71;
}
.BgClassName
{
background-color: #1B1F71;
}
</style>
border-color css
<style>
span { border-color: #1B1F71; }
span { border-color: rgb(27,31,113); }
td.TdClassName
{
border-color: #1B1F71;
}
.TagClassName
{
border-color: #1B1F71;
}
</style>