Shades of Midnight #1F314A
Tints of Midnight #1F314A
RGB
CMYK
RGB Variations
Color information
#1F314A (or 0x1F314A) is known color: Midnight. HEX triplet: 1F, 31 and 4A. RGB value is (31,49,74). Sum of RGB (Red+Green+Blue) = 31+49+74=154 (20% of max value = 765). Red value is 31 (12.5% from 255 or 20.13% from 154); Green value is 49 (19.53% from 255 or 31.82% from 154); Blue value is 74 (29.30% from 255 or 48.05% from 154); Max value from RGB is 74 - color contains mainly: blue. Hex color #1F314A is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F314A is #E0CEB5. Grayscale: #2E2E2E. Windows color (decimal): -14732982 or 4862239. OLE color: 4862239.
HSL color Cylindrical-coordinate representation of color #1F314A: hue angle of 214.88º degrees, saturation: 0.41, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.58%. Process color model (Four color, CMYK) of #1F314A is Cyan = 0.58, Magento = 0.34, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 31 | 49 | 74 | - |
| CMYK | 0.58 | 0.34 | 0 | 0.71 |
| HSL | 214.88º | 0.41% | 0.21% | - |
| HSV(B) | 214.88º | 0.58% | 0.29% | - |
| XYZ | 2.9 | 2.98 | 6.9 | - |
| YUV | 46.47 | 143.54 | 116.97 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 49 | 74 | 0.58 | 0.34 | 0 | 0.71 | 214.88 | 0.41 | 0.21 |
| Hex | 1F | 31 | 4A | 3A | 22 | 0 | 47 | D7 | 29 | 15 |
| Octal | 37 | 61 | 112 | 72 | 42 | 0 | 107 | 327 | 51 | 25 |
| Binary | 11111 | 110001 | 1001010 | 111010 | 100010 | 0 | 1000111 | 11010111 | 101001 | 10101 |
Color Harmonies of #1F314A
Complementary color
Monochromatic Colors of #1F314A
Black with #1F314A
Text Example
Text Example
White with #1F314A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F314A; }
p { color: rgb(31,49,74); }
H1.HeaderClassName
{
color: #1F314A;
}
.AnyTagClassName
{
color: #1F314A;
}
</style>
background-color css
<style>
a { background-color: #1F314A; }
a { background-color: rgb(31,49,74); }
div.DivClassName
{
background-color: #1F314A;
}
.BgClassName
{
background-color: #1F314A;
}
</style>
border-color css
<style>
span { border-color: #1F314A; }
span { border-color: rgb(31,49,74); }
td.TdClassName
{
border-color: #1F314A;
}
.TagClassName
{
border-color: #1F314A;
}
</style>