Shades of Midnight Blue #1F1261
Tints of Midnight Blue #1F1261
RGB
CMYK
RGB Variations
Color information
#1F1261 (or 0x1F1261) is known color: Midnight Blue. HEX triplet: 1F, 12 and 61. RGB value is (31,18,97). Sum of RGB (Red+Green+Blue) = 31+18+97=146 (19% of max value = 765). Red value is 31 (12.5% from 255 or 21.23% from 146); Green value is 18 (7.42% from 255 or 12.33% from 146); Blue value is 97 (38.28% from 255 or 66.44% from 146); Max value from RGB is 97 - color contains mainly: blue. Hex color #1F1261 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1261 is #E0ED9E. Grayscale: #1E1E1E. Windows color (decimal): -14740895 or 6361631. OLE color: 6361631.
HSL color Cylindrical-coordinate representation of color #1F1261: hue angle of 249.87º degrees, saturation: 0.69, lightness: 0.23%. HSV value (or HSB Brightness) of color is 0.38% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #1F1261 is Cyan = 0.68, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.62.
Color convert
| RGB | 31 | 18 | 97 | - |
| CMYK | 0.68 | 0.81 | 0 | 0.62 |
| HSL | 249.87º | 0.69% | 0.23% | - |
| HSV(B) | 249.87º | 0.81% | 0.38% | - |
| XYZ | 2.94 | 1.59 | 11.46 | - |
| YUV | 30.89 | 165.31 | 128.08 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 18 | 97 | 0.68 | 0.81 | 0 | 0.62 | 249.87 | 0.69 | 0.23 |
| Hex | 1F | 12 | 61 | 44 | 51 | 0 | 3E | FA | 45 | 17 |
| Octal | 37 | 22 | 141 | 104 | 121 | 0 | 76 | 372 | 105 | 27 |
| Binary | 11111 | 10010 | 1100001 | 1000100 | 1010001 | 0 | 111110 | 11111010 | 1000101 | 10111 |
Color Harmonies of #1F1261
Complementary color
Monochromatic Colors of #1F1261
Black with #1F1261
Text Example
Text Example
White with #1F1261
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1261; }
p { color: rgb(31,18,97); }
H1.HeaderClassName
{
color: #1F1261;
}
.AnyTagClassName
{
color: #1F1261;
}
</style>
background-color css
<style>
a { background-color: #1F1261; }
a { background-color: rgb(31,18,97); }
div.DivClassName
{
background-color: #1F1261;
}
.BgClassName
{
background-color: #1F1261;
}
</style>
border-color css
<style>
span { border-color: #1F1261; }
span { border-color: rgb(31,18,97); }
td.TdClassName
{
border-color: #1F1261;
}
.TagClassName
{
border-color: #1F1261;
}
</style>