Shades of Midnight Blue #1F2270
Tints of Midnight Blue #1F2270
RGB
CMYK
RGB Variations
Color information
#1F2270 (or 0x1F2270) is known color: Midnight Blue. HEX triplet: 1F, 22 and 70. RGB value is (31,34,112). Sum of RGB (Red+Green+Blue) = 31+34+112=177 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.51% from 177); Green value is 34 (13.67% from 255 or 19.21% from 177); Blue value is 112 (44.14% from 255 or 63.28% from 177); Max value from RGB is 112 - color contains mainly: blue. Hex color #1F2270 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2270 is #E0DD8F. Grayscale: #292929. Windows color (decimal): -14736784 or 7348767. OLE color: 7348767.
HSL color Cylindrical-coordinate representation of color #1F2270: hue angle of 237.78º degrees, saturation: 0.57, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #1F2270 is Cyan = 0.72, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 31 | 34 | 112 | - |
| CMYK | 0.72 | 0.70 | 0 | 0.56 |
| HSL | 237.78º | 0.57% | 0.28% | - |
| HSV(B) | 237.78º | 0.72% | 0.44% | - |
| XYZ | 4.06 | 2.61 | 15.62 | - |
| YUV | 42 | 167.51 | 120.16 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 34 | 112 | 0.72 | 0.70 | 0 | 0.56 | 237.78 | 0.57 | 0.28 |
| Hex | 1F | 22 | 70 | 48 | 46 | 0 | 38 | EE | 39 | 1C |
| Octal | 37 | 42 | 160 | 110 | 106 | 0 | 70 | 356 | 71 | 34 |
| Binary | 11111 | 100010 | 1110000 | 1001000 | 1000110 | 0 | 111000 | 11101110 | 111001 | 11100 |
Color Harmonies of #1F2270
Complementary color
Monochromatic Colors of #1F2270
Black with #1F2270
Text Example
Text Example
White with #1F2270
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2270; }
p { color: rgb(31,34,112); }
H1.HeaderClassName
{
color: #1F2270;
}
.AnyTagClassName
{
color: #1F2270;
}
</style>
background-color css
<style>
a { background-color: #1F2270; }
a { background-color: rgb(31,34,112); }
div.DivClassName
{
background-color: #1F2270;
}
.BgClassName
{
background-color: #1F2270;
}
</style>
border-color css
<style>
span { border-color: #1F2270; }
span { border-color: rgb(31,34,112); }
td.TdClassName
{
border-color: #1F2270;
}
.TagClassName
{
border-color: #1F2270;
}
</style>