Shades of Midnight Blue #221F7A
Tints of Midnight Blue #221F7A
RGB
CMYK
RGB Variations
Color information
#221F7A (or 0x221F7A) is known color: Midnight Blue. HEX triplet: 22, 1F and 7A. RGB value is (34,31,122). Sum of RGB (Red+Green+Blue) = 34+31+122=187 (24% of max value = 765). Red value is 34 (13.67% from 255 or 18.18% from 187); Green value is 31 (12.5% from 255 or 16.58% from 187); Blue value is 122 (48.05% from 255 or 65.24% from 187); Max value from RGB is 122 - color contains mainly: blue. Hex color #221F7A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #221F7A is #DDE085. Grayscale: #292929. Windows color (decimal): -14540934 or 8003362. OLE color: 8003362.
HSL color Cylindrical-coordinate representation of color #221F7A: hue angle of 241.98º degrees, saturation: 0.59, 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 #221F7A is Cyan = 0.72, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 34 | 31 | 122 | - |
| CMYK | 0.72 | 0.75 | 0 | 0.52 |
| HSL | 241.98º | 0.59% | 0.3% | - |
| HSV(B) | 241.98º | 0.75% | 0.48% | - |
| XYZ | 4.66 | 2.73 | 18.69 | - |
| YUV | 42.27 | 172.99 | 122.1 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 34 | 31 | 122 | 0.72 | 0.75 | 0 | 0.52 | 241.98 | 0.59 | 0.3 |
| Hex | 22 | 1F | 7A | 48 | 4B | 0 | 34 | F2 | 3B | 1E |
| Octal | 42 | 37 | 172 | 110 | 113 | 0 | 64 | 362 | 73 | 36 |
| Binary | 100010 | 11111 | 1111010 | 1001000 | 1001011 | 0 | 110100 | 11110010 | 111011 | 11110 |
Color Harmonies of #221F7A
Complementary color
Monochromatic Colors of #221F7A
Black with #221F7A
Text Example
Text Example
White with #221F7A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #221F7A; }
p { color: rgb(34,31,122); }
H1.HeaderClassName
{
color: #221F7A;
}
.AnyTagClassName
{
color: #221F7A;
}
</style>
background-color css
<style>
a { background-color: #221F7A; }
a { background-color: rgb(34,31,122); }
div.DivClassName
{
background-color: #221F7A;
}
.BgClassName
{
background-color: #221F7A;
}
</style>
border-color css
<style>
span { border-color: #221F7A; }
span { border-color: rgb(34,31,122); }
td.TdClassName
{
border-color: #221F7A;
}
.TagClassName
{
border-color: #221F7A;
}
</style>