Shades of Midnight Blue #1F1478
Tints of Midnight Blue #1F1478
RGB
CMYK
RGB Variations
Color information
#1F1478 (or 0x1F1478) is known color: Midnight Blue. HEX triplet: 1F, 14 and 78. RGB value is (31,20,120). Sum of RGB (Red+Green+Blue) = 31+20+120=171 (22% of max value = 765). Red value is 31 (12.5% from 255 or 18.13% from 171); Green value is 20 (8.20% from 255 or 11.70% from 171); Blue value is 120 (47.27% from 255 or 70.18% from 171); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F1478 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F1478 is #E0EB87. Grayscale: #222222. Windows color (decimal): -14740360 or 7869471. OLE color: 7869471.
HSL color Cylindrical-coordinate representation of color #1F1478: hue angle of 246.6º degrees, saturation: 0.71, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #1F1478 is Cyan = 0.74, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 20 | 120 | - |
| CMYK | 0.74 | 0.83 | 0 | 0.53 |
| HSL | 246.6º | 0.71% | 0.27% | - |
| HSV(B) | 246.6º | 0.83% | 0.47% | - |
| XYZ | 4.21 | 2.15 | 17.96 | - |
| YUV | 34.69 | 176.14 | 125.37 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 20 | 120 | 0.74 | 0.83 | 0 | 0.53 | 246.6 | 0.71 | 0.27 |
| Hex | 1F | 14 | 78 | 4A | 53 | 0 | 35 | F7 | 47 | 1B |
| Octal | 37 | 24 | 170 | 112 | 123 | 0 | 65 | 367 | 107 | 33 |
| Binary | 11111 | 10100 | 1111000 | 1001010 | 1010011 | 0 | 110101 | 11110111 | 1000111 | 11011 |
Color Harmonies of #1F1478
Complementary color
Monochromatic Colors of #1F1478
Black with #1F1478
Text Example
Text Example
White with #1F1478
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1478; }
p { color: rgb(31,20,120); }
H1.HeaderClassName
{
color: #1F1478;
}
.AnyTagClassName
{
color: #1F1478;
}
</style>
background-color css
<style>
a { background-color: #1F1478; }
a { background-color: rgb(31,20,120); }
div.DivClassName
{
background-color: #1F1478;
}
.BgClassName
{
background-color: #1F1478;
}
</style>
border-color css
<style>
span { border-color: #1F1478; }
span { border-color: rgb(31,20,120); }
td.TdClassName
{
border-color: #1F1478;
}
.TagClassName
{
border-color: #1F1478;
}
</style>