Shades of Midnight Blue #1F0C6B
Tints of Midnight Blue #1F0C6B
RGB
CMYK
RGB Variations
Color information
#1F0C6B (or 0x1F0C6B) is known color: Midnight Blue. HEX triplet: 1F, 0C and 6B. RGB value is (31,12,107). Sum of RGB (Red+Green+Blue) = 31+12+107=150 (19% of max value = 765). Red value is 31 (12.5% from 255 or 20.67% from 150); Green value is 12 (5.08% from 255 or 8% from 150); Blue value is 107 (42.19% from 255 or 71.33% from 150); Max value from RGB is 107 - color contains mainly: blue. Hex color #1F0C6B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #1F0C6B is #E0F394. Grayscale: #1C1C1C. Windows color (decimal): -14742421 or 7015455. OLE color: 7015455.
HSL color Cylindrical-coordinate representation of color #1F0C6B: hue angle of 252º degrees, saturation: 0.8, lightness: 0.23%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.89%. Process color model (Four color, CMYK) of #1F0C6B is Cyan = 0.71, Magento = 0.89, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 12 | 107 | - |
| CMYK | 0.71 | 0.89 | 0 | 0.58 |
| HSL | 252º | 0.8% | 0.23% | - |
| HSV(B) | 252º | 0.89% | 0.42% | - |
| XYZ | 3.35 | 1.62 | 14.05 | - |
| YUV | 28.51 | 172.29 | 129.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 12 | 107 | 0.71 | 0.89 | 0 | 0.58 | 252 | 0.8 | 0.23 |
| Hex | 1F | C | 6B | 47 | 59 | 0 | 3A | FC | 50 | 17 |
| Octal | 37 | 14 | 153 | 107 | 131 | 0 | 72 | 374 | 120 | 27 |
| Binary | 11111 | 1100 | 1101011 | 1000111 | 1011001 | 0 | 111010 | 11111100 | 1010000 | 10111 |
Color Harmonies of #1F0C6B
Complementary color
Monochromatic Colors of #1F0C6B
Black with #1F0C6B
Text Example
Text Example
White with #1F0C6B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F0C6B; }
p { color: rgb(31,12,107); }
H1.HeaderClassName
{
color: #1F0C6B;
}
.AnyTagClassName
{
color: #1F0C6B;
}
</style>
background-color css
<style>
a { background-color: #1F0C6B; }
a { background-color: rgb(31,12,107); }
div.DivClassName
{
background-color: #1F0C6B;
}
.BgClassName
{
background-color: #1F0C6B;
}
</style>
border-color css
<style>
span { border-color: #1F0C6B; }
span { border-color: rgb(31,12,107); }
td.TdClassName
{
border-color: #1F0C6B;
}
.TagClassName
{
border-color: #1F0C6B;
}
</style>