Shades of Midnight Blue #271C7F
Tints of Midnight Blue #271C7F
RGB
CMYK
RGB Variations
Color information
#271C7F (or 0x271C7F) is known color: Midnight Blue. HEX triplet: 27, 1C and 7F. RGB value is (39,28,127). Sum of RGB (Red+Green+Blue) = 39+28+127=194 (25% of max value = 765). Red value is 39 (15.62% from 255 or 20.10% from 194); Green value is 28 (11.33% from 255 or 14.43% from 194); Blue value is 127 (50% from 255 or 65.46% from 194); Max value from RGB is 127 - color contains mainly: blue. Hex color #271C7F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #271C7F is #D8E380. Grayscale: #2A2A2A. Windows color (decimal): -14214017 or 8330279. OLE color: 8330279.
HSL color Cylindrical-coordinate representation of color #271C7F: hue angle of 246.67º degrees, saturation: 0.64, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #271C7F is Cyan = 0.69, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 39 | 28 | 127 | - |
| CMYK | 0.69 | 0.78 | 0 | 0.50 |
| HSL | 246.67º | 0.64% | 0.3% | - |
| HSV(B) | 246.67º | 0.78% | 0.5% | - |
| XYZ | 5.08 | 2.79 | 20.35 | - |
| YUV | 42.58 | 175.64 | 125.45 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 39 | 28 | 127 | 0.69 | 0.78 | 0 | 0.50 | 246.67 | 0.64 | 0.3 |
| Hex | 27 | 1C | 7F | 45 | 4E | 0 | 32 | F7 | 40 | 1E |
| Octal | 47 | 34 | 177 | 105 | 116 | 0 | 62 | 367 | 100 | 36 |
| Binary | 100111 | 11100 | 1111111 | 1000101 | 1001110 | 0 | 110010 | 11110111 | 1000000 | 11110 |
Color Harmonies of #271C7F
Complementary color
Monochromatic Colors of #271C7F
Black with #271C7F
Text Example
Text Example
White with #271C7F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #271C7F; }
p { color: rgb(39,28,127); }
H1.HeaderClassName
{
color: #271C7F;
}
.AnyTagClassName
{
color: #271C7F;
}
</style>
background-color css
<style>
a { background-color: #271C7F; }
a { background-color: rgb(39,28,127); }
div.DivClassName
{
background-color: #271C7F;
}
.BgClassName
{
background-color: #271C7F;
}
</style>
border-color css
<style>
span { border-color: #271C7F; }
span { border-color: rgb(39,28,127); }
td.TdClassName
{
border-color: #271C7F;
}
.TagClassName
{
border-color: #271C7F;
}
</style>