Shades of Midnight Blue #1F1B6C
Tints of Midnight Blue #1F1B6C
RGB
CMYK
RGB Variations
Color information
#1F1B6C (or 0x1F1B6C) is known color: Midnight Blue. HEX triplet: 1F, 1B and 6C. RGB value is (31,27,108). Sum of RGB (Red+Green+Blue) = 31+27+108=166 (21% of max value = 765). Red value is 31 (12.5% from 255 or 18.67% from 166); Green value is 27 (10.94% from 255 or 16.27% from 166); Blue value is 108 (42.58% from 255 or 65.06% from 166); Max value from RGB is 108 - color contains mainly: blue. Hex color #1F1B6C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F1B6C is #E0E493. Grayscale: #252525. Windows color (decimal): -14738580 or 7084831. OLE color: 7084831.
HSL color Cylindrical-coordinate representation of color #1F1B6C: hue angle of 242.96º degrees, saturation: 0.6, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F1B6C is Cyan = 0.71, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 27 | 108 | - |
| CMYK | 0.71 | 0.75 | 0 | 0.58 |
| HSL | 242.96º | 0.6% | 0.26% | - |
| HSV(B) | 242.96º | 0.75% | 0.42% | - |
| XYZ | 3.66 | 2.16 | 14.41 | - |
| YUV | 37.43 | 167.83 | 123.41 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 27 | 108 | 0.71 | 0.75 | 0 | 0.58 | 242.96 | 0.6 | 0.26 |
| Hex | 1F | 1B | 6C | 47 | 4B | 0 | 3A | F3 | 3C | 1A |
| Octal | 37 | 33 | 154 | 107 | 113 | 0 | 72 | 363 | 74 | 32 |
| Binary | 11111 | 11011 | 1101100 | 1000111 | 1001011 | 0 | 111010 | 11110011 | 111100 | 11010 |
Color Harmonies of #1F1B6C
Complementary color
Monochromatic Colors of #1F1B6C
Black with #1F1B6C
Text Example
Text Example
White with #1F1B6C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1B6C; }
p { color: rgb(31,27,108); }
H1.HeaderClassName
{
color: #1F1B6C;
}
.AnyTagClassName
{
color: #1F1B6C;
}
</style>
background-color css
<style>
a { background-color: #1F1B6C; }
a { background-color: rgb(31,27,108); }
div.DivClassName
{
background-color: #1F1B6C;
}
.BgClassName
{
background-color: #1F1B6C;
}
</style>
border-color css
<style>
span { border-color: #1F1B6C; }
span { border-color: rgb(31,27,108); }
td.TdClassName
{
border-color: #1F1B6C;
}
.TagClassName
{
border-color: #1F1B6C;
}
</style>