Shades of Midnight Blue #1F266C
Tints of Midnight Blue #1F266C
RGB
CMYK
RGB Variations
Color information
#1F266C (or 0x1F266C) is known color: Midnight Blue. HEX triplet: 1F, 26 and 6C. RGB value is (31,38,108). Sum of RGB (Red+Green+Blue) = 31+38+108=177 (23% of max value = 765). Red value is 31 (12.5% from 255 or 17.51% from 177); Green value is 38 (15.23% from 255 or 21.47% from 177); Blue value is 108 (42.58% from 255 or 61.02% from 177); Max value from RGB is 108 - color contains mainly: blue. Hex color #1F266C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F266C is #E0D993. Grayscale: #2B2B2B. Windows color (decimal): -14735764 or 7087647. OLE color: 7087647.
HSL color Cylindrical-coordinate representation of color #1F266C: hue angle of 234.55º degrees, saturation: 0.55, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #1F266C is Cyan = 0.71, Magento = 0.65, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 38 | 108 | - |
| CMYK | 0.71 | 0.65 | 0 | 0.58 |
| HSL | 234.55º | 0.55% | 0.27% | - |
| HSV(B) | 234.55º | 0.71% | 0.42% | - |
| XYZ | 3.96 | 2.76 | 14.51 | - |
| YUV | 43.89 | 164.18 | 118.81 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 38 | 108 | 0.71 | 0.65 | 0 | 0.58 | 234.55 | 0.55 | 0.27 |
| Hex | 1F | 26 | 6C | 47 | 41 | 0 | 3A | EB | 37 | 1B |
| Octal | 37 | 46 | 154 | 107 | 101 | 0 | 72 | 353 | 67 | 33 |
| Binary | 11111 | 100110 | 1101100 | 1000111 | 1000001 | 0 | 111010 | 11101011 | 110111 | 11011 |
Color Harmonies of #1F266C
Complementary color
Monochromatic Colors of #1F266C
Black with #1F266C
Text Example
Text Example
White with #1F266C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F266C; }
p { color: rgb(31,38,108); }
H1.HeaderClassName
{
color: #1F266C;
}
.AnyTagClassName
{
color: #1F266C;
}
</style>
background-color css
<style>
a { background-color: #1F266C; }
a { background-color: rgb(31,38,108); }
div.DivClassName
{
background-color: #1F266C;
}
.BgClassName
{
background-color: #1F266C;
}
</style>
border-color css
<style>
span { border-color: #1F266C; }
span { border-color: rgb(31,38,108); }
td.TdClassName
{
border-color: #1F266C;
}
.TagClassName
{
border-color: #1F266C;
}
</style>