Shades of Midnight #1F3348
Tints of Midnight #1F3348
RGB
CMYK
RGB Variations
Color information
#1F3348 (or 0x1F3348) is known color: Midnight. HEX triplet: 1F, 33 and 48. RGB value is (31,51,72). Sum of RGB (Red+Green+Blue) = 31+51+72=154 (20% of max value = 765). Red value is 31 (12.5% from 255 or 20.13% from 154); Green value is 51 (20.31% from 255 or 33.12% from 154); Blue value is 72 (28.52% from 255 or 46.75% from 154); Max value from RGB is 72 - color contains mainly: blue. Hex color #1F3348 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F3348 is #E0CCB7. Grayscale: #2F2F2F. Windows color (decimal): -14732472 or 4731679. OLE color: 4731679.
HSL color Cylindrical-coordinate representation of color #1F3348: hue angle of 210.73º degrees, saturation: 0.4, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.57%. Process color model (Four color, CMYK) of #1F3348 is Cyan = 0.57, Magento = 0.29, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 31 | 51 | 72 | - |
| CMYK | 0.57 | 0.29 | 0 | 0.72 |
| HSL | 210.73º | 0.4% | 0.2% | - |
| HSV(B) | 210.73º | 0.57% | 0.28% | - |
| XYZ | 2.92 | 3.13 | 6.58 | - |
| YUV | 47.41 | 141.87 | 116.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 51 | 72 | 0.57 | 0.29 | 0 | 0.72 | 210.73 | 0.4 | 0.2 |
| Hex | 1F | 33 | 48 | 39 | 1D | 0 | 48 | D3 | 28 | 14 |
| Octal | 37 | 63 | 110 | 71 | 35 | 0 | 110 | 323 | 50 | 24 |
| Binary | 11111 | 110011 | 1001000 | 111001 | 11101 | 0 | 1001000 | 11010011 | 101000 | 10100 |
Color Harmonies of #1F3348
Complementary color
Monochromatic Colors of #1F3348
Black with #1F3348
Text Example
Text Example
White with #1F3348
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F3348; }
p { color: rgb(31,51,72); }
H1.HeaderClassName
{
color: #1F3348;
}
.AnyTagClassName
{
color: #1F3348;
}
</style>
background-color css
<style>
a { background-color: #1F3348; }
a { background-color: rgb(31,51,72); }
div.DivClassName
{
background-color: #1F3348;
}
.BgClassName
{
background-color: #1F3348;
}
</style>
border-color css
<style>
span { border-color: #1F3348; }
span { border-color: rgb(31,51,72); }
td.TdClassName
{
border-color: #1F3348;
}
.TagClassName
{
border-color: #1F3348;
}
</style>