Shades of Midnight Blue #1F2D6C
Tints of Midnight Blue #1F2D6C
RGB
CMYK
RGB Variations
Color information
#1F2D6C (or 0x1F2D6C) is known color: Midnight Blue. HEX triplet: 1F, 2D and 6C. RGB value is (31,45,108). Sum of RGB (Red+Green+Blue) = 31+45+108=184 (24% of max value = 765). Red value is 31 (12.5% from 255 or 16.85% from 184); Green value is 45 (17.97% from 255 or 24.46% from 184); Blue value is 108 (42.58% from 255 or 58.70% from 184); Max value from RGB is 108 - color contains mainly: blue. Hex color #1F2D6C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1F2D6C is #E0D293. Grayscale: #2F2F2F. Windows color (decimal): -14733972 or 7089439. OLE color: 7089439.
HSL color Cylindrical-coordinate representation of color #1F2D6C: hue angle of 229.09º 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 #1F2D6C is Cyan = 0.71, Magento = 0.58, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 31 | 45 | 108 | - |
| CMYK | 0.71 | 0.58 | 0 | 0.58 |
| HSL | 229.09º | 0.55% | 0.27% | - |
| HSV(B) | 229.09º | 0.71% | 0.42% | - |
| XYZ | 4.21 | 3.25 | 14.59 | - |
| YUV | 48 | 161.86 | 115.88 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 45 | 108 | 0.71 | 0.58 | 0 | 0.58 | 229.09 | 0.55 | 0.27 |
| Hex | 1F | 2D | 6C | 47 | 3A | 0 | 3A | E5 | 37 | 1B |
| Octal | 37 | 55 | 154 | 107 | 72 | 0 | 72 | 345 | 67 | 33 |
| Binary | 11111 | 101101 | 1101100 | 1000111 | 111010 | 0 | 111010 | 11100101 | 110111 | 11011 |
Color Harmonies of #1F2D6C
Complementary color
Monochromatic Colors of #1F2D6C
Black with #1F2D6C
Text Example
Text Example
White with #1F2D6C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2D6C; }
p { color: rgb(31,45,108); }
H1.HeaderClassName
{
color: #1F2D6C;
}
.AnyTagClassName
{
color: #1F2D6C;
}
</style>
background-color css
<style>
a { background-color: #1F2D6C; }
a { background-color: rgb(31,45,108); }
div.DivClassName
{
background-color: #1F2D6C;
}
.BgClassName
{
background-color: #1F2D6C;
}
</style>
border-color css
<style>
span { border-color: #1F2D6C; }
span { border-color: rgb(31,45,108); }
td.TdClassName
{
border-color: #1F2D6C;
}
.TagClassName
{
border-color: #1F2D6C;
}
</style>