Shades of Midnight Blue #1F227B
Tints of Midnight Blue #1F227B
RGB
CMYK
RGB Variations
Color information
#1F227B (or 0x1F227B) is known color: Midnight Blue. HEX triplet: 1F, 22 and 7B. RGB value is (31,34,123). Sum of RGB (Red+Green+Blue) = 31+34+123=188 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.49% from 188); Green value is 34 (13.67% from 255 or 18.09% from 188); Blue value is 123 (48.44% from 255 or 65.43% from 188); Max value from RGB is 123 - color contains mainly: blue. Hex color #1F227B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F227B is #E0DD84. Grayscale: #2A2A2A. Windows color (decimal): -14736773 or 8069663. OLE color: 8069663.
HSL color Cylindrical-coordinate representation of color #1F227B: hue angle of 238.04º degrees, saturation: 0.6, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #1F227B is Cyan = 0.75, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 31 | 34 | 123 | - |
| CMYK | 0.75 | 0.72 | 0 | 0.52 |
| HSL | 238.04º | 0.6% | 0.3% | - |
| HSV(B) | 238.04º | 0.75% | 0.48% | - |
| XYZ | 4.71 | 2.87 | 19.04 | - |
| YUV | 43.25 | 173.01 | 119.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 34 | 123 | 0.75 | 0.72 | 0 | 0.52 | 238.04 | 0.6 | 0.3 |
| Hex | 1F | 22 | 7B | 4B | 48 | 0 | 34 | EE | 3C | 1E |
| Octal | 37 | 42 | 173 | 113 | 110 | 0 | 64 | 356 | 74 | 36 |
| Binary | 11111 | 100010 | 1111011 | 1001011 | 1001000 | 0 | 110100 | 11101110 | 111100 | 11110 |
Color Harmonies of #1F227B
Complementary color
Monochromatic Colors of #1F227B
Black with #1F227B
Text Example
Text Example
White with #1F227B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F227B; }
p { color: rgb(31,34,123); }
H1.HeaderClassName
{
color: #1F227B;
}
.AnyTagClassName
{
color: #1F227B;
}
</style>
background-color css
<style>
a { background-color: #1F227B; }
a { background-color: rgb(31,34,123); }
div.DivClassName
{
background-color: #1F227B;
}
.BgClassName
{
background-color: #1F227B;
}
</style>
border-color css
<style>
span { border-color: #1F227B; }
span { border-color: rgb(31,34,123); }
td.TdClassName
{
border-color: #1F227B;
}
.TagClassName
{
border-color: #1F227B;
}
</style>