Shades of Midnight Blue #271D7F
Tints of Midnight Blue #271D7F
RGB
CMYK
RGB Variations
Color information
#271D7F (or 0x271D7F) is known color: Midnight Blue. HEX triplet: 27, 1D and 7F. RGB value is (39,29,127). Sum of RGB (Red+Green+Blue) = 39+29+127=195 (25% of max value = 765). Red value is 39 (15.62% from 255 or 20% from 195); Green value is 29 (11.72% from 255 or 14.87% from 195); Blue value is 127 (50% from 255 or 65.13% from 195); Max value from RGB is 127 - color contains mainly: blue. Hex color #271D7F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #271D7F is #D8E280. Grayscale: #2A2A2A. Windows color (decimal): -14213761 or 8330535. OLE color: 8330535.
HSL color Cylindrical-coordinate representation of color #271D7F: hue angle of 246.12º 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 #271D7F is Cyan = 0.69, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 39 | 29 | 127 | - |
| CMYK | 0.69 | 0.77 | 0 | 0.50 |
| HSL | 246.12º | 0.63% | 0.31% | - |
| HSV(B) | 246.12º | 0.77% | 0.5% | - |
| XYZ | 5.11 | 2.84 | 20.36 | - |
| YUV | 43.16 | 175.31 | 125.03 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 39 | 29 | 127 | 0.69 | 0.77 | 0 | 0.50 | 246.12 | 0.63 | 0.31 |
| Hex | 27 | 1D | 7F | 45 | 4D | 0 | 32 | F6 | 3F | 1F |
| Octal | 47 | 35 | 177 | 105 | 115 | 0 | 62 | 366 | 77 | 37 |
| Binary | 100111 | 11101 | 1111111 | 1000101 | 1001101 | 0 | 110010 | 11110110 | 111111 | 11111 |
Color Harmonies of #271D7F
Complementary color
Monochromatic Colors of #271D7F
Black with #271D7F
Text Example
Text Example
White with #271D7F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #271D7F; }
p { color: rgb(39,29,127); }
H1.HeaderClassName
{
color: #271D7F;
}
.AnyTagClassName
{
color: #271D7F;
}
</style>
background-color css
<style>
a { background-color: #271D7F; }
a { background-color: rgb(39,29,127); }
div.DivClassName
{
background-color: #271D7F;
}
.BgClassName
{
background-color: #271D7F;
}
</style>
border-color css
<style>
span { border-color: #271D7F; }
span { border-color: rgb(39,29,127); }
td.TdClassName
{
border-color: #271D7F;
}
.TagClassName
{
border-color: #271D7F;
}
</style>