Shades of Midnight Blue #1F1D5E
Tints of Midnight Blue #1F1D5E
RGB
CMYK
RGB Variations
Color information
#1F1D5E (or 0x1F1D5E) is known color: Midnight Blue. HEX triplet: 1F, 1D and 5E. RGB value is (31,29,94). Sum of RGB (Red+Green+Blue) = 31+29+94=154 (20% of max value = 765). Red value is 31 (12.5% from 255 or 20.13% from 154); Green value is 29 (11.72% from 255 or 18.83% from 154); Blue value is 94 (37.11% from 255 or 61.04% from 154); Max value from RGB is 94 - color contains mainly: blue. Hex color #1F1D5E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1D5E is #E0E2A1. Grayscale: #242424. Windows color (decimal): -14738082 or 6167839. OLE color: 6167839.
HSL color Cylindrical-coordinate representation of color #1F1D5E: hue angle of 241.85º degrees, saturation: 0.53, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #1F1D5E is Cyan = 0.67, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 31 | 29 | 94 | - |
| CMYK | 0.67 | 0.69 | 0 | 0.63 |
| HSL | 241.85º | 0.53% | 0.24% | - |
| HSV(B) | 241.85º | 0.69% | 0.37% | - |
| XYZ | 3.02 | 1.98 | 10.81 | - |
| YUV | 37.01 | 160.16 | 123.71 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 29 | 94 | 0.67 | 0.69 | 0 | 0.63 | 241.85 | 0.53 | 0.24 |
| Hex | 1F | 1D | 5E | 43 | 45 | 0 | 3F | F2 | 35 | 18 |
| Octal | 37 | 35 | 136 | 103 | 105 | 0 | 77 | 362 | 65 | 30 |
| Binary | 11111 | 11101 | 1011110 | 1000011 | 1000101 | 0 | 111111 | 11110010 | 110101 | 11000 |
Color Harmonies of #1F1D5E
Complementary color
Monochromatic Colors of #1F1D5E
Black with #1F1D5E
Text Example
Text Example
White with #1F1D5E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1D5E; }
p { color: rgb(31,29,94); }
H1.HeaderClassName
{
color: #1F1D5E;
}
.AnyTagClassName
{
color: #1F1D5E;
}
</style>
background-color css
<style>
a { background-color: #1F1D5E; }
a { background-color: rgb(31,29,94); }
div.DivClassName
{
background-color: #1F1D5E;
}
.BgClassName
{
background-color: #1F1D5E;
}
</style>
border-color css
<style>
span { border-color: #1F1D5E; }
span { border-color: rgb(31,29,94); }
td.TdClassName
{
border-color: #1F1D5E;
}
.TagClassName
{
border-color: #1F1D5E;
}
</style>