Shades of Midnight Blue #1F1B80
Tints of Midnight Blue #1F1B80
RGB
CMYK
RGB Variations
Color information
#1F1B80 (or 0x1F1B80) is known color: Midnight Blue. HEX triplet: 1F, 1B and 80. RGB value is (31,27,128). Sum of RGB (Red+Green+Blue) = 31+27+128=186 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.67% from 186); Green value is 27 (10.94% from 255 or 14.52% from 186); Blue value is 128 (50.39% from 255 or 68.82% from 186); Max value from RGB is 128 - color contains mainly: blue. Hex color #1F1B80 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F1B80 is #E0E47F. Grayscale: #272727. Windows color (decimal): -14738560 or 8395551. OLE color: 8395551.
HSL color Cylindrical-coordinate representation of color #1F1B80: hue angle of 242.38º degrees, saturation: 0.65, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #1F1B80 is Cyan = 0.76, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 27 | 128 | - |
| CMYK | 0.76 | 0.79 | 0 | 0.50 |
| HSL | 242.38º | 0.65% | 0.3% | - |
| HSV(B) | 242.38º | 0.79% | 0.5% | - |
| XYZ | 4.85 | 2.63 | 20.67 | - |
| YUV | 39.71 | 177.83 | 121.79 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 27 | 128 | 0.76 | 0.79 | 0 | 0.50 | 242.38 | 0.65 | 0.3 |
| Hex | 1F | 1B | 80 | 4C | 4F | 0 | 32 | F2 | 41 | 1E |
| Octal | 37 | 33 | 200 | 114 | 117 | 0 | 62 | 362 | 101 | 36 |
| Binary | 11111 | 11011 | 10000000 | 1001100 | 1001111 | 0 | 110010 | 11110010 | 1000001 | 11110 |
Color Harmonies of #1F1B80
Complementary color
Monochromatic Colors of #1F1B80
Black with #1F1B80
Text Example
Text Example
White with #1F1B80
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F1B80; }
p { color: rgb(31,27,128); }
H1.HeaderClassName
{
color: #1F1B80;
}
.AnyTagClassName
{
color: #1F1B80;
}
</style>
background-color css
<style>
a { background-color: #1F1B80; }
a { background-color: rgb(31,27,128); }
div.DivClassName
{
background-color: #1F1B80;
}
.BgClassName
{
background-color: #1F1B80;
}
</style>
border-color css
<style>
span { border-color: #1F1B80; }
span { border-color: rgb(31,27,128); }
td.TdClassName
{
border-color: #1F1B80;
}
.TagClassName
{
border-color: #1F1B80;
}
</style>