Shades of Midnight Blue #1F225E
Tints of Midnight Blue #1F225E
RGB
CMYK
RGB Variations
Color information
#1F225E (or 0x1F225E) is known color: Midnight Blue. HEX triplet: 1F, 22 and 5E. RGB value is (31,34,94). Sum of RGB (Red+Green+Blue) = 31+34+94=159 (21% of max value = 765). Red value is 31 (12.5% from 255 or 19.50% from 159); Green value is 34 (13.67% from 255 or 21.38% from 159); Blue value is 94 (37.11% from 255 or 59.12% from 159); Max value from RGB is 94 - color contains mainly: blue. Hex color #1F225E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F225E is #E0DDA1. Grayscale: #272727. Windows color (decimal): -14736802 or 6169119. OLE color: 6169119.
HSL color Cylindrical-coordinate representation of color #1F225E: hue angle of 237.14º degrees, saturation: 0.5, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.37% and HSV saturation: 0.67%. Process color model (Four color, CMYK) of #1F225E is Cyan = 0.67, Magento = 0.64, Yellow = 0 and Black (K on CMYK) = 0.63.
Color convert
| RGB | 31 | 34 | 94 | - |
| CMYK | 0.67 | 0.64 | 0 | 0.63 |
| HSL | 237.14º | 0.5% | 0.25% | - |
| HSV(B) | 237.14º | 0.67% | 0.37% | - |
| XYZ | 3.16 | 2.24 | 10.86 | - |
| YUV | 39.94 | 158.51 | 121.62 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 34 | 94 | 0.67 | 0.64 | 0 | 0.63 | 237.14 | 0.5 | 0.25 |
| Hex | 1F | 22 | 5E | 43 | 40 | 0 | 3F | ED | 32 | 19 |
| Octal | 37 | 42 | 136 | 103 | 100 | 0 | 77 | 355 | 62 | 31 |
| Binary | 11111 | 100010 | 1011110 | 1000011 | 1000000 | 0 | 111111 | 11101101 | 110010 | 11001 |
Color Harmonies of #1F225E
Complementary color
Monochromatic Colors of #1F225E
Black with #1F225E
Text Example
Text Example
White with #1F225E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F225E; }
p { color: rgb(31,34,94); }
H1.HeaderClassName
{
color: #1F225E;
}
.AnyTagClassName
{
color: #1F225E;
}
</style>
background-color css
<style>
a { background-color: #1F225E; }
a { background-color: rgb(31,34,94); }
div.DivClassName
{
background-color: #1F225E;
}
.BgClassName
{
background-color: #1F225E;
}
</style>
border-color css
<style>
span { border-color: #1F225E; }
span { border-color: rgb(31,34,94); }
td.TdClassName
{
border-color: #1F225E;
}
.TagClassName
{
border-color: #1F225E;
}
</style>