Shades of Midnight Blue #1F2D6D
Tints of Midnight Blue #1F2D6D
RGB
CMYK
RGB Variations
Color information
#1F2D6D (or 0x1F2D6D) is known color: Midnight Blue. HEX triplet: 1F, 2D and 6D. RGB value is (31,45,109). Sum of RGB (Red+Green+Blue) = 31+45+109=185 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.76% from 185); Green value is 45 (17.97% from 255 or 24.32% from 185); Blue value is 109 (42.97% from 255 or 58.92% from 185); Max value from RGB is 109 - color contains mainly: blue. Hex color #1F2D6D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2D6D is #E0D292. Grayscale: #2F2F2F. Windows color (decimal): -14733971 or 7154975. OLE color: 7154975.
HSL color Cylindrical-coordinate representation of color #1F2D6D: hue angle of 229.23º degrees, saturation: 0.56, lightness: 0.27%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #1F2D6D is Cyan = 0.72, Magento = 0.59, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 31 | 45 | 109 | - |
| CMYK | 0.72 | 0.59 | 0 | 0.57 |
| HSL | 229.23º | 0.56% | 0.27% | - |
| HSV(B) | 229.23º | 0.72% | 0.43% | - |
| XYZ | 4.26 | 3.27 | 14.87 | - |
| YUV | 48.11 | 162.36 | 115.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 45 | 109 | 0.72 | 0.59 | 0 | 0.57 | 229.23 | 0.56 | 0.27 |
| Hex | 1F | 2D | 6D | 48 | 3B | 0 | 39 | E5 | 38 | 1B |
| Octal | 37 | 55 | 155 | 110 | 73 | 0 | 71 | 345 | 70 | 33 |
| Binary | 11111 | 101101 | 1101101 | 1001000 | 111011 | 0 | 111001 | 11100101 | 111000 | 11011 |
Color Harmonies of #1F2D6D
Complementary color
Monochromatic Colors of #1F2D6D
Black with #1F2D6D
Text Example
Text Example
White with #1F2D6D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2D6D; }
p { color: rgb(31,45,109); }
H1.HeaderClassName
{
color: #1F2D6D;
}
.AnyTagClassName
{
color: #1F2D6D;
}
</style>
background-color css
<style>
a { background-color: #1F2D6D; }
a { background-color: rgb(31,45,109); }
div.DivClassName
{
background-color: #1F2D6D;
}
.BgClassName
{
background-color: #1F2D6D;
}
</style>
border-color css
<style>
span { border-color: #1F2D6D; }
span { border-color: rgb(31,45,109); }
td.TdClassName
{
border-color: #1F2D6D;
}
.TagClassName
{
border-color: #1F2D6D;
}
</style>