Shades of Midnight Blue #1F1270
Tints of Midnight Blue #1F1270
RGB
CMYK
RGB Variations
Color information
#1F1270 (or 0x1F1270) is known color: Midnight Blue. HEX triplet: 1F, 12 and 70. RGB value is (31,18,112). Sum of RGB (Red+Green+Blue) = 31+18+112=161 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.25% from 161); Green value is 18 (7.42% from 255 or 11.18% from 161); Blue value is 112 (44.14% from 255 or 69.57% from 161); Max value from RGB is 112 - color contains mainly: blue. Hex color #1F1270 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1270 is #E0ED8F. Grayscale: #202020. Windows color (decimal): -14740880 or 7344671. OLE color: 7344671.
HSL color Cylindrical-coordinate representation of color #1F1270: hue angle of 248.3º degrees, saturation: 0.72, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #1F1270 is Cyan = 0.72, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 18 | 112 | - |
| CMYK | 0.72 | 0.84 | 0 | 0.56 |
| HSL | 248.3º | 0.72% | 0.25% | - |
| HSV(B) | 248.3º | 0.84% | 0.44% | - |
| XYZ | 3.71 | 1.89 | 15.5 | - |
| YUV | 32.6 | 172.81 | 126.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 18 | 112 | 0.72 | 0.84 | 0 | 0.56 | 248.3 | 0.72 | 0.25 |
| Hex | 1F | 12 | 70 | 48 | 54 | 0 | 38 | F8 | 48 | 19 |
| Octal | 37 | 22 | 160 | 110 | 124 | 0 | 70 | 370 | 110 | 31 |
| Binary | 11111 | 10010 | 1110000 | 1001000 | 1010100 | 0 | 111000 | 11111000 | 1001000 | 11001 |
Color Harmonies of #1F1270
Complementary color
Monochromatic Colors of #1F1270
Black with #1F1270
Text Example
Text Example
White with #1F1270
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1270; }
p { color: rgb(31,18,112); }
H1.HeaderClassName
{
color: #1F1270;
}
.AnyTagClassName
{
color: #1F1270;
}
</style>
background-color css
<style>
a { background-color: #1F1270; }
a { background-color: rgb(31,18,112); }
div.DivClassName
{
background-color: #1F1270;
}
.BgClassName
{
background-color: #1F1270;
}
</style>
border-color css
<style>
span { border-color: #1F1270; }
span { border-color: rgb(31,18,112); }
td.TdClassName
{
border-color: #1F1270;
}
.TagClassName
{
border-color: #1F1270;
}
</style>