Shades of Midnight Blue #1F1F74
Tints of Midnight Blue #1F1F74
RGB
CMYK
RGB Variations
Color information
#1F1F74 (or 0x1F1F74) is known color: Midnight Blue. HEX triplet: 1F, 1F and 74. RGB value is (31,31,116). Sum of RGB (Red+Green+Blue) = 31+31+116=178 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.42% from 178); Green value is 31 (12.5% from 255 or 17.42% from 178); Blue value is 116 (45.70% from 255 or 65.17% from 178); Max value from RGB is 116 - color contains mainly: blue. Hex color #1F1F74 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1F74 is #E0E08B. Grayscale: #282828. Windows color (decimal): -14737548 or 7610143. OLE color: 7610143.
HSL color Cylindrical-coordinate representation of color #1F1F74: hue angle of 240º degrees, saturation: 0.58, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #1F1F74 is Cyan = 0.73, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 31 | 31 | 116 | - |
| CMYK | 0.73 | 0.73 | 0 | 0.55 |
| HSL | 240º | 0.58% | 0.29% | - |
| HSV(B) | 240º | 0.73% | 0.45% | - |
| XYZ | 4.21 | 2.53 | 16.79 | - |
| YUV | 40.69 | 170.5 | 121.09 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 31 | 116 | 0.73 | 0.73 | 0 | 0.55 | 240 | 0.58 | 0.29 |
| Hex | 1F | 1F | 74 | 49 | 49 | 0 | 37 | F0 | 3A | 1D |
| Octal | 37 | 37 | 164 | 111 | 111 | 0 | 67 | 360 | 72 | 35 |
| Binary | 11111 | 11111 | 1110100 | 1001001 | 1001001 | 0 | 110111 | 11110000 | 111010 | 11101 |
Color Harmonies of #1F1F74
Complementary color
Monochromatic Colors of #1F1F74
Black with #1F1F74
Text Example
Text Example
White with #1F1F74
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1F74; }
p { color: rgb(31,31,116); }
H1.HeaderClassName
{
color: #1F1F74;
}
.AnyTagClassName
{
color: #1F1F74;
}
</style>
background-color css
<style>
a { background-color: #1F1F74; }
a { background-color: rgb(31,31,116); }
div.DivClassName
{
background-color: #1F1F74;
}
.BgClassName
{
background-color: #1F1F74;
}
</style>
border-color css
<style>
span { border-color: #1F1F74; }
span { border-color: rgb(31,31,116); }
td.TdClassName
{
border-color: #1F1F74;
}
.TagClassName
{
border-color: #1F1F74;
}
</style>