Shades of Midnight #1F3248
Tints of Midnight #1F3248
RGB
CMYK
RGB Variations
Color information
#1F3248 (or 0x1F3248) is known color: Midnight. HEX triplet: 1F, 32 and 48. RGB value is (31,50,72). Sum of RGB (Red+Green+Blue) = 31+50+72=153 (20% of max value = 765). Red value is 31 (12.5% from 255 or 20.26% from 153); Green value is 50 (19.92% from 255 or 32.68% from 153); Blue value is 72 (28.52% from 255 or 47.06% from 153); Max value from RGB is 72 - color contains mainly: blue. Hex color #1F3248 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F3248 is #E0CDB7. Grayscale: #2E2E2E. Windows color (decimal): -14732728 or 4731423. OLE color: 4731423.
HSL color Cylindrical-coordinate representation of color #1F3248: hue angle of 212.2º 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 #1F3248 is Cyan = 0.57, Magento = 0.31, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 31 | 50 | 72 | - |
| CMYK | 0.57 | 0.31 | 0 | 0.72 |
| HSL | 212.2º | 0.4% | 0.2% | - |
| HSV(B) | 212.2º | 0.57% | 0.28% | - |
| XYZ | 2.88 | 3.04 | 6.57 | - |
| YUV | 46.83 | 142.21 | 116.71 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 50 | 72 | 0.57 | 0.31 | 0 | 0.72 | 212.2 | 0.4 | 0.2 |
| Hex | 1F | 32 | 48 | 39 | 1F | 0 | 48 | D4 | 28 | 14 |
| Octal | 37 | 62 | 110 | 71 | 37 | 0 | 110 | 324 | 50 | 24 |
| Binary | 11111 | 110010 | 1001000 | 111001 | 11111 | 0 | 1001000 | 11010100 | 101000 | 10100 |
Color Harmonies of #1F3248
Complementary color
Monochromatic Colors of #1F3248
Black with #1F3248
Text Example
Text Example
White with #1F3248
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F3248; }
p { color: rgb(31,50,72); }
H1.HeaderClassName
{
color: #1F3248;
}
.AnyTagClassName
{
color: #1F3248;
}
</style>
background-color css
<style>
a { background-color: #1F3248; }
a { background-color: rgb(31,50,72); }
div.DivClassName
{
background-color: #1F3248;
}
.BgClassName
{
background-color: #1F3248;
}
</style>
border-color css
<style>
span { border-color: #1F3248; }
span { border-color: rgb(31,50,72); }
td.TdClassName
{
border-color: #1F3248;
}
.TagClassName
{
border-color: #1F3248;
}
</style>