Shades of Midnight Blue #1F0F5E
Tints of Midnight Blue #1F0F5E
RGB
CMYK
RGB Variations
Color information
#1F0F5E (or 0x1F0F5E) is known color: Midnight Blue. HEX triplet: 1F, 0F and 5E. RGB value is (31,15,94). Sum of RGB (Red+Green+Blue) = 31+15+94=140 (18% of max value = 765). Red value is 31 (12.5% from 255 or 22.14% from 140); Green value is 15 (6.25% from 255 or 10.71% from 140); Blue value is 94 (37.11% from 255 or 67.14% from 140); Max value from RGB is 94 - color contains mainly: blue. Hex color #1F0F5E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0F5E is #E0F0A1. Grayscale: #1C1C1C. Windows color (decimal): -14741666 or 6164255. OLE color: 6164255.
HSL color Cylindrical-coordinate representation of color #1F0F5E: hue angle of 252.15º degrees, saturation: 0.72, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #1F0F5E is Cyan = 0.67, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 31 | 15 | 94 | - |
| CMYK | 0.67 | 0.84 | 0 | 0.63 |
| HSL | 252.15º | 0.72% | 0.21% | - |
| HSV(B) | 252.15º | 0.84% | 0.37% | - |
| XYZ | 2.76 | 1.44 | 10.72 | - |
| YUV | 28.79 | 164.8 | 129.58 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 15 | 94 | 0.67 | 0.84 | 0 | 0.63 | 252.15 | 0.72 | 0.21 |
| Hex | 1F | F | 5E | 43 | 54 | 0 | 3F | FC | 48 | 15 |
| Octal | 37 | 17 | 136 | 103 | 124 | 0 | 77 | 374 | 110 | 25 |
| Binary | 11111 | 1111 | 1011110 | 1000011 | 1010100 | 0 | 111111 | 11111100 | 1001000 | 10101 |
Color Harmonies of #1F0F5E
Complementary color
Monochromatic Colors of #1F0F5E
Black with #1F0F5E
Text Example
Text Example
White with #1F0F5E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0F5E; }
p { color: rgb(31,15,94); }
H1.HeaderClassName
{
color: #1F0F5E;
}
.AnyTagClassName
{
color: #1F0F5E;
}
</style>
background-color css
<style>
a { background-color: #1F0F5E; }
a { background-color: rgb(31,15,94); }
div.DivClassName
{
background-color: #1F0F5E;
}
.BgClassName
{
background-color: #1F0F5E;
}
</style>
border-color css
<style>
span { border-color: #1F0F5E; }
span { border-color: rgb(31,15,94); }
td.TdClassName
{
border-color: #1F0F5E;
}
.TagClassName
{
border-color: #1F0F5E;
}
</style>