Shades of Midnight Blue #1F2678
Tints of Midnight Blue #1F2678
RGB
CMYK
RGB Variations
Color information
#1F2678 (or 0x1F2678) is known color: Midnight Blue. HEX triplet: 1F, 26 and 78. RGB value is (31,38,120). Sum of RGB (Red+Green+Blue) = 31+38+120=189 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.40% from 189); Green value is 38 (15.23% from 255 or 20.11% from 189); Blue value is 120 (47.27% from 255 or 63.49% from 189); Max value from RGB is 120 - color contains mainly: blue. Hex color #1F2678 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2678 is #E0D987. Grayscale: #2C2C2C. Windows color (decimal): -14735752 or 7874079. OLE color: 7874079.
HSL color Cylindrical-coordinate representation of color #1F2678: hue angle of 235.28º degrees, saturation: 0.59, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #1F2678 is Cyan = 0.74, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 31 | 38 | 120 | - |
| CMYK | 0.74 | 0.68 | 0 | 0.53 |
| HSL | 235.28º | 0.59% | 0.3% | - |
| HSV(B) | 235.28º | 0.74% | 0.47% | - |
| XYZ | 4.65 | 3.03 | 18.11 | - |
| YUV | 45.26 | 170.18 | 117.83 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 38 | 120 | 0.74 | 0.68 | 0 | 0.53 | 235.28 | 0.59 | 0.3 |
| Hex | 1F | 26 | 78 | 4A | 44 | 0 | 35 | EB | 3B | 1E |
| Octal | 37 | 46 | 170 | 112 | 104 | 0 | 65 | 353 | 73 | 36 |
| Binary | 11111 | 100110 | 1111000 | 1001010 | 1000100 | 0 | 110101 | 11101011 | 111011 | 11110 |
Color Harmonies of #1F2678
Complementary color
Monochromatic Colors of #1F2678
Black with #1F2678
Text Example
Text Example
White with #1F2678
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2678; }
p { color: rgb(31,38,120); }
H1.HeaderClassName
{
color: #1F2678;
}
.AnyTagClassName
{
color: #1F2678;
}
</style>
background-color css
<style>
a { background-color: #1F2678; }
a { background-color: rgb(31,38,120); }
div.DivClassName
{
background-color: #1F2678;
}
.BgClassName
{
background-color: #1F2678;
}
</style>
border-color css
<style>
span { border-color: #1F2678; }
span { border-color: rgb(31,38,120); }
td.TdClassName
{
border-color: #1F2678;
}
.TagClassName
{
border-color: #1F2678;
}
</style>