Shades of Midnight Blue #1F0C5F
Tints of Midnight Blue #1F0C5F
RGB
CMYK
RGB Variations
Color information
#1F0C5F (or 0x1F0C5F) is known color: Midnight Blue. HEX triplet: 1F, 0C and 5F. RGB value is (31,12,95). Sum of RGB (Red+Green+Blue) = 31+12+95=138 (18% of max value = 765). Red value is 31 (12.5% from 255 or 22.46% from 138); Green value is 12 (5.08% from 255 or 8.70% from 138); Blue value is 95 (37.5% from 255 or 68.84% from 138); Max value from RGB is 95 - color contains mainly: blue. Hex color #1F0C5F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0C5F is #E0F3A0. Grayscale: #1A1A1A. Windows color (decimal): -14742433 or 6229023. OLE color: 6229023.
HSL color Cylindrical-coordinate representation of color #1F0C5F: hue angle of 253.73º degrees, saturation: 0.78, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.87%. Process color model (Four color, CMYK) of #1F0C5F is Cyan = 0.67, Magento = 0.87, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 31 | 12 | 95 | - |
| CMYK | 0.67 | 0.87 | 0 | 0.63 |
| HSL | 253.73º | 0.78% | 0.21% | - |
| HSV(B) | 253.73º | 0.87% | 0.37% | - |
| XYZ | 2.76 | 1.38 | 10.95 | - |
| YUV | 27.14 | 166.29 | 130.75 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 12 | 95 | 0.67 | 0.87 | 0 | 0.63 | 253.73 | 0.78 | 0.21 |
| Hex | 1F | C | 5F | 43 | 57 | 0 | 3F | FE | 4E | 15 |
| Octal | 37 | 14 | 137 | 103 | 127 | 0 | 77 | 376 | 116 | 25 |
| Binary | 11111 | 1100 | 1011111 | 1000011 | 1010111 | 0 | 111111 | 11111110 | 1001110 | 10101 |
Color Harmonies of #1F0C5F
Complementary color
Monochromatic Colors of #1F0C5F
Black with #1F0C5F
Text Example
Text Example
White with #1F0C5F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0C5F; }
p { color: rgb(31,12,95); }
H1.HeaderClassName
{
color: #1F0C5F;
}
.AnyTagClassName
{
color: #1F0C5F;
}
</style>
background-color css
<style>
a { background-color: #1F0C5F; }
a { background-color: rgb(31,12,95); }
div.DivClassName
{
background-color: #1F0C5F;
}
.BgClassName
{
background-color: #1F0C5F;
}
</style>
border-color css
<style>
span { border-color: #1F0C5F; }
span { border-color: rgb(31,12,95); }
td.TdClassName
{
border-color: #1F0C5F;
}
.TagClassName
{
border-color: #1F0C5F;
}
</style>