Shades of Midnight Blue #1F227C
Tints of Midnight Blue #1F227C
RGB
CMYK
RGB Variations
Color information
#1F227C (or 0x1F227C) is known color: Midnight Blue. HEX triplet: 1F, 22 and 7C. RGB value is (31,34,124). Sum of RGB (Red+Green+Blue) = 31+34+124=189 (25% of max value = 765). Red value is 31 (12.5% from 255 or 16.40% from 189); Green value is 34 (13.67% from 255 or 17.99% from 189); Blue value is 124 (48.83% from 255 or 65.61% from 189); Max value from RGB is 124 - color contains mainly: blue. Hex color #1F227C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F227C is #E0DD83. Grayscale: #2B2B2B. Windows color (decimal): -14736772 or 8135199. OLE color: 8135199.
HSL color Cylindrical-coordinate representation of color #1F227C: hue angle of 238.06º degrees, saturation: 0.6, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F227C is Cyan = 0.75, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 31 | 34 | 124 | - |
| CMYK | 0.75 | 0.73 | 0 | 0.51 |
| HSL | 238.06º | 0.6% | 0.3% | - |
| HSV(B) | 238.06º | 0.75% | 0.49% | - |
| XYZ | 4.78 | 2.89 | 19.38 | - |
| YUV | 43.36 | 173.51 | 119.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 34 | 124 | 0.75 | 0.73 | 0 | 0.51 | 238.06 | 0.6 | 0.3 |
| Hex | 1F | 22 | 7C | 4B | 49 | 0 | 33 | EE | 3C | 1E |
| Octal | 37 | 42 | 174 | 113 | 111 | 0 | 63 | 356 | 74 | 36 |
| Binary | 11111 | 100010 | 1111100 | 1001011 | 1001001 | 0 | 110011 | 11101110 | 111100 | 11110 |
Color Harmonies of #1F227C
Complementary color
Monochromatic Colors of #1F227C
Black with #1F227C
Text Example
Text Example
White with #1F227C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F227C; }
p { color: rgb(31,34,124); }
H1.HeaderClassName
{
color: #1F227C;
}
.AnyTagClassName
{
color: #1F227C;
}
</style>
background-color css
<style>
a { background-color: #1F227C; }
a { background-color: rgb(31,34,124); }
div.DivClassName
{
background-color: #1F227C;
}
.BgClassName
{
background-color: #1F227C;
}
</style>
border-color css
<style>
span { border-color: #1F227C; }
span { border-color: rgb(31,34,124); }
td.TdClassName
{
border-color: #1F227C;
}
.TagClassName
{
border-color: #1F227C;
}
</style>