Shades of Midnight Blue #271D7E
Tints of Midnight Blue #271D7E
RGB
CMYK
RGB Variations
Color information
#271D7E (or 0x271D7E) is known color: Midnight Blue. HEX triplet: 27, 1D and 7E. RGB value is (39,29,126). Sum of RGB (Red+Green+Blue) = 39+29+126=194 (25% of max value = 765). Red value is 39 (15.62% from 255 or 20.10% from 194); Green value is 29 (11.72% from 255 or 14.95% from 194); Blue value is 126 (49.61% from 255 or 64.95% from 194); Max value from RGB is 126 - color contains mainly: blue. Hex color #271D7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #271D7E is #D8E281. Grayscale: #2A2A2A. Windows color (decimal): -14213762 or 8264999. OLE color: 8264999.
HSL color Cylindrical-coordinate representation of color #271D7E: hue angle of 246.19º degrees, saturation: 0.63, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #271D7E is Cyan = 0.69, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 39 | 29 | 126 | - |
| CMYK | 0.69 | 0.77 | 0 | 0.51 |
| HSL | 246.19º | 0.63% | 0.3% | - |
| HSV(B) | 246.19º | 0.77% | 0.49% | - |
| XYZ | 5.04 | 2.82 | 20.02 | - |
| YUV | 43.05 | 174.81 | 125.11 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 39 | 29 | 126 | 0.69 | 0.77 | 0 | 0.51 | 246.19 | 0.63 | 0.3 |
| Hex | 27 | 1D | 7E | 45 | 4D | 0 | 33 | F6 | 3F | 1E |
| Octal | 47 | 35 | 176 | 105 | 115 | 0 | 63 | 366 | 77 | 36 |
| Binary | 100111 | 11101 | 1111110 | 1000101 | 1001101 | 0 | 110011 | 11110110 | 111111 | 11110 |
Color Harmonies of #271D7E
Complementary color
Monochromatic Colors of #271D7E
Black with #271D7E
Text Example
Text Example
White with #271D7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #271D7E; }
p { color: rgb(39,29,126); }
H1.HeaderClassName
{
color: #271D7E;
}
.AnyTagClassName
{
color: #271D7E;
}
</style>
background-color css
<style>
a { background-color: #271D7E; }
a { background-color: rgb(39,29,126); }
div.DivClassName
{
background-color: #271D7E;
}
.BgClassName
{
background-color: #271D7E;
}
</style>
border-color css
<style>
span { border-color: #271D7E; }
span { border-color: rgb(39,29,126); }
td.TdClassName
{
border-color: #271D7E;
}
.TagClassName
{
border-color: #271D7E;
}
</style>