Shades of Midnight Blue #1F2271
Tints of Midnight Blue #1F2271
RGB
CMYK
RGB Variations
Color information
#1F2271 (or 0x1F2271) is known color: Midnight Blue. HEX triplet: 1F, 22 and 71. RGB value is (31,34,113). Sum of RGB (Red+Green+Blue) = 31+34+113=178 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.42% from 178); Green value is 34 (13.67% from 255 or 19.10% from 178); Blue value is 113 (44.53% from 255 or 63.48% from 178); Max value from RGB is 113 - color contains mainly: blue. Hex color #1F2271 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2271 is #E0DD8E. Grayscale: #292929. Windows color (decimal): -14736783 or 7414303. OLE color: 7414303.
HSL color Cylindrical-coordinate representation of color #1F2271: hue angle of 237.8º 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 #1F2271 is Cyan = 0.73, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 34 | 113 | - |
| CMYK | 0.73 | 0.70 | 0 | 0.56 |
| HSL | 237.8º | 0.57% | 0.28% | - |
| HSV(B) | 237.8º | 0.73% | 0.44% | - |
| XYZ | 4.12 | 2.63 | 15.91 | - |
| YUV | 42.11 | 168.01 | 120.08 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 34 | 113 | 0.73 | 0.70 | 0 | 0.56 | 237.8 | 0.57 | 0.28 |
| Hex | 1F | 22 | 71 | 49 | 46 | 0 | 38 | EE | 39 | 1C |
| Octal | 37 | 42 | 161 | 111 | 106 | 0 | 70 | 356 | 71 | 34 |
| Binary | 11111 | 100010 | 1110001 | 1001001 | 1000110 | 0 | 111000 | 11101110 | 111001 | 11100 |
Color Harmonies of #1F2271
Complementary color
Monochromatic Colors of #1F2271
Black with #1F2271
Text Example
Text Example
White with #1F2271
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2271; }
p { color: rgb(31,34,113); }
H1.HeaderClassName
{
color: #1F2271;
}
.AnyTagClassName
{
color: #1F2271;
}
</style>
background-color css
<style>
a { background-color: #1F2271; }
a { background-color: rgb(31,34,113); }
div.DivClassName
{
background-color: #1F2271;
}
.BgClassName
{
background-color: #1F2271;
}
</style>
border-color css
<style>
span { border-color: #1F2271; }
span { border-color: rgb(31,34,113); }
td.TdClassName
{
border-color: #1F2271;
}
.TagClassName
{
border-color: #1F2271;
}
</style>