Shades of Midnight Blue #1F227F
Tints of Midnight Blue #1F227F
RGB
CMYK
RGB Variations
Color information
#1F227F (or 0x1F227F) is known color: Midnight Blue. HEX triplet: 1F, 22 and 7F. RGB value is (31,34,127). Sum of RGB (Red+Green+Blue) = 31+34+127=192 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.15% from 192); Green value is 34 (13.67% from 255 or 17.71% from 192); Blue value is 127 (50% from 255 or 66.15% from 192); Max value from RGB is 127 - color contains mainly: blue. Hex color #1F227F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F227F is #E0DD80. Grayscale: #2B2B2B. Windows color (decimal): -14736769 or 8331807. OLE color: 8331807.
HSL color Cylindrical-coordinate representation of color #1F227F: hue angle of 238.12º degrees, saturation: 0.61, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1F227F is Cyan = 0.76, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 31 | 34 | 127 | - |
| CMYK | 0.76 | 0.73 | 0 | 0.50 |
| HSL | 238.13º | 0.61% | 0.31% | - |
| HSV(B) | 238.13º | 0.76% | 0.5% | - |
| XYZ | 4.97 | 2.97 | 20.39 | - |
| YUV | 43.71 | 175.01 | 118.94 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 34 | 127 | 0.76 | 0.73 | 0 | 0.50 | 238.13 | 0.61 | 0.31 |
| Hex | 1F | 22 | 7F | 4C | 49 | 0 | 32 | EE | 3D | 1F |
| Octal | 37 | 42 | 177 | 114 | 111 | 0 | 62 | 356 | 75 | 37 |
| Binary | 11111 | 100010 | 1111111 | 1001100 | 1001001 | 0 | 110010 | 11101110 | 111101 | 11111 |
Color Harmonies of #1F227F
Complementary color
Monochromatic Colors of #1F227F
Black with #1F227F
Text Example
Text Example
White with #1F227F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F227F; }
p { color: rgb(31,34,127); }
H1.HeaderClassName
{
color: #1F227F;
}
.AnyTagClassName
{
color: #1F227F;
}
</style>
background-color css
<style>
a { background-color: #1F227F; }
a { background-color: rgb(31,34,127); }
div.DivClassName
{
background-color: #1F227F;
}
.BgClassName
{
background-color: #1F227F;
}
</style>
border-color css
<style>
span { border-color: #1F227F; }
span { border-color: rgb(31,34,127); }
td.TdClassName
{
border-color: #1F227F;
}
.TagClassName
{
border-color: #1F227F;
}
</style>