Shades of Midnight Blue #1F2281
Tints of Midnight Blue #1F2281
RGB
CMYK
RGB Variations
Color information
#1F2281 (or 0x1F2281) is known color: Midnight Blue. HEX triplet: 1F, 22 and 81. RGB value is (31,34,129). Sum of RGB (Red+Green+Blue) = 31+34+129=194 (25% of max value = 765). Red value is 31 (12.5% from 255 or 15.98% from 194); Green value is 34 (13.67% from 255 or 17.53% from 194); Blue value is 129 (50.78% from 255 or 66.49% from 194); Max value from RGB is 129 - color contains mainly: blue. Hex color #1F2281 is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #1F2281 is #E0DD7E. Grayscale: #2B2B2B. Windows color (decimal): -14736767 or 8462879. OLE color: 8462879.
HSL color Cylindrical-coordinate representation of color #1F2281: hue angle of 238.16º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.51% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F2281 is Cyan = 0.76, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.49.
Color convert
| RGB | 31 | 34 | 129 | - |
| CMYK | 0.76 | 0.74 | 0 | 0.49 |
| HSL | 238.16º | 0.61% | 0.31% | - |
| HSV(B) | 238.16º | 0.76% | 0.51% | - |
| XYZ | 5.1 | 3.02 | 21.08 | - |
| YUV | 43.93 | 176.01 | 118.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 34 | 129 | 0.76 | 0.74 | 0 | 0.49 | 238.16 | 0.61 | 0.31 |
| Hex | 1F | 22 | 81 | 4C | 4A | 0 | 31 | EE | 3D | 1F |
| Octal | 37 | 42 | 201 | 114 | 112 | 0 | 61 | 356 | 75 | 37 |
| Binary | 11111 | 100010 | 10000001 | 1001100 | 1001010 | 0 | 110001 | 11101110 | 111101 | 11111 |
Color Harmonies of #1F2281
Complementary color
Monochromatic Colors of #1F2281
Black with #1F2281
Text Example
Text Example
White with #1F2281
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2281; }
p { color: rgb(31,34,129); }
H1.HeaderClassName
{
color: #1F2281;
}
.AnyTagClassName
{
color: #1F2281;
}
</style>
background-color css
<style>
a { background-color: #1F2281; }
a { background-color: rgb(31,34,129); }
div.DivClassName
{
background-color: #1F2281;
}
.BgClassName
{
background-color: #1F2281;
}
</style>
border-color css
<style>
span { border-color: #1F2281; }
span { border-color: rgb(31,34,129); }
td.TdClassName
{
border-color: #1F2281;
}
.TagClassName
{
border-color: #1F2281;
}
</style>