Shades of Midnight Blue #1D217F
Tints of Midnight Blue #1D217F
RGB
CMYK
RGB Variations
Color information
#1D217F (or 0x1D217F) is known color: Midnight Blue. HEX triplet: 1D, 21 and 7F. RGB value is (29,33,127). Sum of RGB (Red+Green+Blue) = 29+33+127=189 (25% of max value = 765). Red value is 29 (11.72% from 255 or 15.34% from 189); Green value is 33 (13.28% from 255 or 17.46% from 189); Blue value is 127 (50% from 255 or 67.20% from 189); Max value from RGB is 127 - color contains mainly: blue. Hex color #1D217F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #1D217F is #E2DE80. Grayscale: #2A2A2A. Windows color (decimal): -14868097 or 8331549. OLE color: 8331549.
HSL color Cylindrical-coordinate representation of color #1D217F: hue angle of 237.55º degrees, saturation: 0.63, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #1D217F is Cyan = 0.77, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 29 | 33 | 127 | - |
| CMYK | 0.77 | 0.74 | 0 | 0.50 |
| HSL | 237.55º | 0.63% | 0.31% | - |
| HSV(B) | 237.55º | 0.77% | 0.5% | - |
| XYZ | 4.88 | 2.88 | 20.38 | - |
| YUV | 42.52 | 175.67 | 118.36 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 29 | 33 | 127 | 0.77 | 0.74 | 0 | 0.50 | 237.55 | 0.63 | 0.31 |
| Hex | 1D | 21 | 7F | 4D | 4A | 0 | 32 | EE | 3F | 1F |
| Octal | 35 | 41 | 177 | 115 | 112 | 0 | 62 | 356 | 77 | 37 |
| Binary | 11101 | 100001 | 1111111 | 1001101 | 1001010 | 0 | 110010 | 11101110 | 111111 | 11111 |
Color Harmonies of #1D217F
Complementary color
Monochromatic Colors of #1D217F
Black with #1D217F
Text Example
Text Example
White with #1D217F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1D217F; }
p { color: rgb(29,33,127); }
H1.HeaderClassName
{
color: #1D217F;
}
.AnyTagClassName
{
color: #1D217F;
}
</style>
background-color css
<style>
a { background-color: #1D217F; }
a { background-color: rgb(29,33,127); }
div.DivClassName
{
background-color: #1D217F;
}
.BgClassName
{
background-color: #1D217F;
}
</style>
border-color css
<style>
span { border-color: #1D217F; }
span { border-color: rgb(29,33,127); }
td.TdClassName
{
border-color: #1D217F;
}
.TagClassName
{
border-color: #1D217F;
}
</style>