Shades of Midnight Blue #1D1F7B
Tints of Midnight Blue #1D1F7B
RGB
CMYK
RGB Variations
Color information
#1D1F7B (or 0x1D1F7B) is known color: Midnight Blue. HEX triplet: 1D, 1F and 7B. RGB value is (29,31,123). Sum of RGB (Red+Green+Blue) = 29+31+123=183 (24% of max value = 765). Red value is 29 (11.72% from 255 or 15.85% from 183); Green value is 31 (12.5% from 255 or 16.94% from 183); Blue value is 123 (48.44% from 255 or 67.21% from 183); Max value from RGB is 123 - color contains mainly: blue. Hex color #1D1F7B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1D1F7B is #E2E084. Grayscale: #282828. Windows color (decimal): -14868613 or 8068893. OLE color: 8068893.
HSL color Cylindrical-coordinate representation of color #1D1F7B: hue angle of 238.72º degrees, saturation: 0.62, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #1D1F7B is Cyan = 0.76, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 29 | 31 | 123 | - |
| CMYK | 0.76 | 0.75 | 0 | 0.52 |
| HSL | 238.72º | 0.62% | 0.3% | - |
| HSV(B) | 238.72º | 0.76% | 0.48% | - |
| XYZ | 4.57 | 2.67 | 19.01 | - |
| YUV | 40.89 | 174.34 | 119.52 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 29 | 31 | 123 | 0.76 | 0.75 | 0 | 0.52 | 238.72 | 0.62 | 0.3 |
| Hex | 1D | 1F | 7B | 4C | 4B | 0 | 34 | EF | 3E | 1E |
| Octal | 35 | 37 | 173 | 114 | 113 | 0 | 64 | 357 | 76 | 36 |
| Binary | 11101 | 11111 | 1111011 | 1001100 | 1001011 | 0 | 110100 | 11101111 | 111110 | 11110 |
Color Harmonies of #1D1F7B
Complementary color
Monochromatic Colors of #1D1F7B
Black with #1D1F7B
Text Example
Text Example
White with #1D1F7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1D1F7B; }
p { color: rgb(29,31,123); }
H1.HeaderClassName
{
color: #1D1F7B;
}
.AnyTagClassName
{
color: #1D1F7B;
}
</style>
background-color css
<style>
a { background-color: #1D1F7B; }
a { background-color: rgb(29,31,123); }
div.DivClassName
{
background-color: #1D1F7B;
}
.BgClassName
{
background-color: #1D1F7B;
}
</style>
border-color css
<style>
span { border-color: #1D1F7B; }
span { border-color: rgb(29,31,123); }
td.TdClassName
{
border-color: #1D1F7B;
}
.TagClassName
{
border-color: #1D1F7B;
}
</style>