Shades of Midnight Blue #1F2B71
Tints of Midnight Blue #1F2B71
RGB
CMYK
RGB Variations
Color information
#1F2B71 (or 0x1F2B71) is known color: Midnight Blue. HEX triplet: 1F, 2B and 71. RGB value is (31,43,113). Sum of RGB (Red+Green+Blue) = 31+43+113=187 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.58% from 187); Green value is 43 (17.19% from 255 or 22.99% from 187); Blue value is 113 (44.53% from 255 or 60.43% from 187); Max value from RGB is 113 - color contains mainly: blue. Hex color #1F2B71 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2B71 is #E0D48E. Grayscale: #2F2F2F. Windows color (decimal): -14734479 or 7416607. OLE color: 7416607.
HSL color Cylindrical-coordinate representation of color #1F2B71: hue angle of 231.22º degrees, saturation: 0.57, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #1F2B71 is Cyan = 0.73, Magento = 0.62, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 43 | 113 | - |
| CMYK | 0.73 | 0.62 | 0 | 0.56 |
| HSL | 231.22º | 0.57% | 0.28% | - |
| HSV(B) | 231.22º | 0.73% | 0.44% | - |
| XYZ | 4.41 | 3.21 | 16.01 | - |
| YUV | 47.39 | 165.02 | 116.31 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 43 | 113 | 0.73 | 0.62 | 0 | 0.56 | 231.22 | 0.57 | 0.28 |
| Hex | 1F | 2B | 71 | 49 | 3E | 0 | 38 | E7 | 39 | 1C |
| Octal | 37 | 53 | 161 | 111 | 76 | 0 | 70 | 347 | 71 | 34 |
| Binary | 11111 | 101011 | 1110001 | 1001001 | 111110 | 0 | 111000 | 11100111 | 111001 | 11100 |
Color Harmonies of #1F2B71
Complementary color
Monochromatic Colors of #1F2B71
Black with #1F2B71
Text Example
Text Example
White with #1F2B71
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2B71; }
p { color: rgb(31,43,113); }
H1.HeaderClassName
{
color: #1F2B71;
}
.AnyTagClassName
{
color: #1F2B71;
}
</style>
background-color css
<style>
a { background-color: #1F2B71; }
a { background-color: rgb(31,43,113); }
div.DivClassName
{
background-color: #1F2B71;
}
.BgClassName
{
background-color: #1F2B71;
}
</style>
border-color css
<style>
span { border-color: #1F2B71; }
span { border-color: rgb(31,43,113); }
td.TdClassName
{
border-color: #1F2B71;
}
.TagClassName
{
border-color: #1F2B71;
}
</style>