Shades of Midnight Blue #1F155E
Tints of Midnight Blue #1F155E
RGB
CMYK
RGB Variations
Color information
#1F155E (or 0x1F155E) is known color: Midnight Blue. HEX triplet: 1F, 15 and 5E. RGB value is (31,21,94). Sum of RGB (Red+Green+Blue) = 31+21+94=146 (19% of max value = 765). Red value is 31 (12.5% from 255 or 21.23% from 146); Green value is 21 (8.59% from 255 or 14.38% from 146); Blue value is 94 (37.11% from 255 or 64.38% from 146); Max value from RGB is 94 - color contains mainly: blue. Hex color #1F155E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F155E is #E0EAA1. Grayscale: #202020. Windows color (decimal): -14740130 or 6165791. OLE color: 6165791.
HSL color Cylindrical-coordinate representation of color #1F155E: hue angle of 248.22º degrees, saturation: 0.63, lightness: 0.23%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #1F155E is Cyan = 0.67, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 31 | 21 | 94 | - |
| CMYK | 0.67 | 0.78 | 0 | 0.63 |
| HSL | 248.22º | 0.63% | 0.23% | - |
| HSV(B) | 248.22º | 0.78% | 0.37% | - |
| XYZ | 2.85 | 1.64 | 10.76 | - |
| YUV | 32.31 | 162.81 | 127.06 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 21 | 94 | 0.67 | 0.78 | 0 | 0.63 | 248.22 | 0.63 | 0.23 |
| Hex | 1F | 15 | 5E | 43 | 4E | 0 | 3F | F8 | 3F | 17 |
| Octal | 37 | 25 | 136 | 103 | 116 | 0 | 77 | 370 | 77 | 27 |
| Binary | 11111 | 10101 | 1011110 | 1000011 | 1001110 | 0 | 111111 | 11111000 | 111111 | 10111 |
Color Harmonies of #1F155E
Complementary color
Monochromatic Colors of #1F155E
Black with #1F155E
Text Example
Text Example
White with #1F155E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F155E; }
p { color: rgb(31,21,94); }
H1.HeaderClassName
{
color: #1F155E;
}
.AnyTagClassName
{
color: #1F155E;
}
</style>
background-color css
<style>
a { background-color: #1F155E; }
a { background-color: rgb(31,21,94); }
div.DivClassName
{
background-color: #1F155E;
}
.BgClassName
{
background-color: #1F155E;
}
</style>
border-color css
<style>
span { border-color: #1F155E; }
span { border-color: rgb(31,21,94); }
td.TdClassName
{
border-color: #1F155E;
}
.TagClassName
{
border-color: #1F155E;
}
</style>