Shades of Midnight Blue #1F2A74
Tints of Midnight Blue #1F2A74
RGB
CMYK
RGB Variations
Color information
#1F2A74 (or 0x1F2A74) is known color: Midnight Blue. HEX triplet: 1F, 2A and 74. RGB value is (31,42,116). Sum of RGB (Red+Green+Blue) = 31+42+116=189 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.40% from 189); Green value is 42 (16.80% from 255 or 22.22% from 189); Blue value is 116 (45.70% from 255 or 61.38% from 189); Max value from RGB is 116 - color contains mainly: blue. Hex color #1F2A74 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2A74 is #E0D58B. Grayscale: #2E2E2E. Windows color (decimal): -14734732 or 7612959. OLE color: 7612959.
HSL color Cylindrical-coordinate representation of color #1F2A74: hue angle of 232.24º 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 #1F2A74 is Cyan = 0.73, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 31 | 42 | 116 | - |
| CMYK | 0.73 | 0.64 | 0 | 0.55 |
| HSL | 232.24º | 0.58% | 0.29% | - |
| HSV(B) | 232.24º | 0.73% | 0.45% | - |
| XYZ | 4.55 | 3.21 | 16.9 | - |
| YUV | 47.15 | 166.86 | 116.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 116 | 0.73 | 0.64 | 0 | 0.55 | 232.24 | 0.58 | 0.29 |
| Hex | 1F | 2A | 74 | 49 | 40 | 0 | 37 | E8 | 3A | 1D |
| Octal | 37 | 52 | 164 | 111 | 100 | 0 | 67 | 350 | 72 | 35 |
| Binary | 11111 | 101010 | 1110100 | 1001001 | 1000000 | 0 | 110111 | 11101000 | 111010 | 11101 |
Color Harmonies of #1F2A74
Complementary color
Monochromatic Colors of #1F2A74
Black with #1F2A74
Text Example
Text Example
White with #1F2A74
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A74; }
p { color: rgb(31,42,116); }
H1.HeaderClassName
{
color: #1F2A74;
}
.AnyTagClassName
{
color: #1F2A74;
}
</style>
background-color css
<style>
a { background-color: #1F2A74; }
a { background-color: rgb(31,42,116); }
div.DivClassName
{
background-color: #1F2A74;
}
.BgClassName
{
background-color: #1F2A74;
}
</style>
border-color css
<style>
span { border-color: #1F2A74; }
span { border-color: rgb(31,42,116); }
td.TdClassName
{
border-color: #1F2A74;
}
.TagClassName
{
border-color: #1F2A74;
}
</style>