Shades of Midnight #1F334C
Tints of Midnight #1F334C
RGB
CMYK
RGB Variations
Color information
#1F334C (or 0x1F334C) is known color: Midnight. HEX triplet: 1F, 33 and 4C. RGB value is (31,51,76). Sum of RGB (Red+Green+Blue) = 31+51+76=158 (20% of max value = 765). Red value is 31 (12.5% from 255 or 19.62% from 158); Green value is 51 (20.31% from 255 or 32.28% from 158); Blue value is 76 (30.08% from 255 or 48.10% from 158); Max value from RGB is 76 - color contains mainly: blue. Hex color #1F334C is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F334C is #E0CCB3. Grayscale: #2F2F2F. Windows color (decimal): -14732468 or 4993823. OLE color: 4993823.
HSL color Cylindrical-coordinate representation of color #1F334C: hue angle of 213.33º degrees, saturation: 0.42, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.59%. Process color model (Four color, CMYK) of #1F334C is Cyan = 0.59, Magento = 0.33, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 31 | 51 | 76 | - |
| CMYK | 0.59 | 0.33 | 0 | 0.70 |
| HSL | 213.33º | 0.42% | 0.21% | - |
| HSV(B) | 213.33º | 0.59% | 0.3% | - |
| XYZ | 3.05 | 3.18 | 7.29 | - |
| YUV | 47.87 | 143.87 | 115.97 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 51 | 76 | 0.59 | 0.33 | 0 | 0.70 | 213.33 | 0.42 | 0.21 |
| Hex | 1F | 33 | 4C | 3B | 21 | 0 | 46 | D5 | 2A | 15 |
| Octal | 37 | 63 | 114 | 73 | 41 | 0 | 106 | 325 | 52 | 25 |
| Binary | 11111 | 110011 | 1001100 | 111011 | 100001 | 0 | 1000110 | 11010101 | 101010 | 10101 |
Color Harmonies of #1F334C
Complementary color
Monochromatic Colors of #1F334C
Black with #1F334C
Text Example
Text Example
White with #1F334C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F334C; }
p { color: rgb(31,51,76); }
H1.HeaderClassName
{
color: #1F334C;
}
.AnyTagClassName
{
color: #1F334C;
}
</style>
background-color css
<style>
a { background-color: #1F334C; }
a { background-color: rgb(31,51,76); }
div.DivClassName
{
background-color: #1F334C;
}
.BgClassName
{
background-color: #1F334C;
}
</style>
border-color css
<style>
span { border-color: #1F334C; }
span { border-color: rgb(31,51,76); }
td.TdClassName
{
border-color: #1F334C;
}
.TagClassName
{
border-color: #1F334C;
}
</style>