Shades of Midnight Blue #1F1572
Tints of Midnight Blue #1F1572
RGB
CMYK
RGB Variations
Color information
#1F1572 (or 0x1F1572) is known color: Midnight Blue. HEX triplet: 1F, 15 and 72. RGB value is (31,21,114). Sum of RGB (Red+Green+Blue) = 31+21+114=166 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.67% from 166); Green value is 21 (8.59% from 255 or 12.65% from 166); Blue value is 114 (44.92% from 255 or 68.67% from 166); Max value from RGB is 114 - color contains mainly: blue. Hex color #1F1572 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1572 is #E0EA8D. Grayscale: #222222. Windows color (decimal): -14740110 or 7476511. OLE color: 7476511.
HSL color Cylindrical-coordinate representation of color #1F1572: hue angle of 246.45º degrees, saturation: 0.69, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.45% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #1F1572 is Cyan = 0.73, Magento = 0.82, Yellow = 0 and Black (K on CMYK) = 0.55.
Color convert
| RGB | 31 | 21 | 114 | - |
| CMYK | 0.73 | 0.82 | 0 | 0.55 |
| HSL | 246.45º | 0.69% | 0.26% | - |
| HSV(B) | 246.45º | 0.82% | 0.45% | - |
| XYZ | 3.87 | 2.04 | 16.11 | - |
| YUV | 34.59 | 172.81 | 125.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 21 | 114 | 0.73 | 0.82 | 0 | 0.55 | 246.45 | 0.69 | 0.26 |
| Hex | 1F | 15 | 72 | 49 | 52 | 0 | 37 | F6 | 45 | 1A |
| Octal | 37 | 25 | 162 | 111 | 122 | 0 | 67 | 366 | 105 | 32 |
| Binary | 11111 | 10101 | 1110010 | 1001001 | 1010010 | 0 | 110111 | 11110110 | 1000101 | 11010 |
Color Harmonies of #1F1572
Complementary color
Monochromatic Colors of #1F1572
Black with #1F1572
Text Example
Text Example
White with #1F1572
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1572; }
p { color: rgb(31,21,114); }
H1.HeaderClassName
{
color: #1F1572;
}
.AnyTagClassName
{
color: #1F1572;
}
</style>
background-color css
<style>
a { background-color: #1F1572; }
a { background-color: rgb(31,21,114); }
div.DivClassName
{
background-color: #1F1572;
}
.BgClassName
{
background-color: #1F1572;
}
</style>
border-color css
<style>
span { border-color: #1F1572; }
span { border-color: rgb(31,21,114); }
td.TdClassName
{
border-color: #1F1572;
}
.TagClassName
{
border-color: #1F1572;
}
</style>